aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/core/json
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-04-01 00:53:57 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2016-04-01 00:53:57 +0200
commit959b6f52cda3555a92e8a7c52f213560960ce614 (patch)
treee570d5249f3c583cb6660026a58c53480bd49c5b /test/core/json
parent5d28d9f63bf9bed97f6f9338668f97020ed40766 (diff)
Fixing another memory leak.
Diffstat (limited to 'test/core/json')
-rw-r--r--test/core/json/json_test.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/core/json/json_test.c b/test/core/json/json_test.c
index 735ff4c853..7ea5caca5b 100644
--- a/test/core/json/json_test.c
+++ b/test/core/json/json_test.c
@@ -90,6 +90,7 @@ static testing_pair testing_pairs[] = {
{"{\"foo\": bar\"x\"}", NULL},
{"fals", NULL},
{"0,0 ", NULL},
+ {"\"foo\",[]", NULL},
/* Testing unterminated string. */
{"\"\\x", NULL},
/* Testing invalid UTF-16 number. */