From dc2d54d9c6a6a72fd8ed0214e257a47698d20d57 Mon Sep 17 00:00:00 2001 From: Petri Lehtinen Date: Thu, 14 Mar 2013 22:24:57 +0200 Subject: [PATCH] Fix a refleak in test/bin/json_process.c --- test/bin/json_process.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/bin/json_process.c b/test/bin/json_process.c index ab8c063..cd271dc 100644 --- a/test/bin/json_process.c +++ b/test/bin/json_process.c @@ -305,6 +305,7 @@ int use_env() } json_dumpf(json, stdout, flags); + json_decref(json); return 0; }