mirror of
https://github.com/json-c/json-c.git
synced 2026-04-05 13:29:06 +08:00
Erik Hovland (3):
Fix any noticeable spelling or grammar errors.
Make sure every va_start has a va_end.
Check all pointers for validity.
git-svn-id: http://svn.metaparadigm.com/svn/json-c/trunk@41 327403b1-1117-474d-bef2-5cb71233fd97
This commit is contained in:
@@ -64,6 +64,7 @@ struct json_tokener* json_tokener_new(void)
|
||||
struct json_tokener *tok;
|
||||
|
||||
tok = (struct json_tokener*)calloc(1, sizeof(struct json_tokener));
|
||||
if (!tok) return NULL;
|
||||
tok->pb = printbuf_new();
|
||||
json_tokener_reset(tok);
|
||||
return tok;
|
||||
|
||||
Reference in New Issue
Block a user