commit | 595060f53c770e1c575ede1c3618c2400ecfbe96 | [log] [tgz] |
---|---|---|
author | Radek Krejci <rkrejci@cesnet.cz> | Fri Oct 30 16:29:58 2015 +0100 |
committer | Radek Krejci <rkrejci@cesnet.cz> | Fri Oct 30 16:29:58 2015 +0100 |
tree | eea66c60d7e06630a2e8034c6bf28c3f128fce02 | |
parent | ae7154bc401adb85689e37d222226a440920062d [diff] [blame] |
json parser BUGFIX memory leak
diff --git a/src/parser_json.c b/src/parser_json.c index 20ac4d6..c1c84f7 100644 --- a/src/parser_json.c +++ b/src/parser_json.c
@@ -792,7 +792,7 @@ break; default: LOGINT; - return 0; + goto error; } result->parent = *parent; if (*parent && !(*parent)->child) {