diff --git a/src/curl_json.c b/src/curl_json.c
index 1c225f79cec84de3e155e825e9367f6f5e405ab4..3ba55603d329342e6a30fa86b6908531e3e36e73 100644 (file)
--- a/src/curl_json.c
+++ b/src/curl_json.c
{
ERROR ("curl_json plugin: cj_config: "
"Invalid key: %s", ci->key);
+ cj_key_free (key);
return (-1);
}
{
ERROR ("curl_json plugin: cj_config: "
"Invalid key: %s", ci->key);
+ cj_free (db);
return (-1);
}
if (status != 0)