summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 77ba6b7)
raw | patch | inline | side by side (parent: 77ba6b7)
author | Florian Forster <octo@collectd.org> | |
Fri, 19 Jun 2015 08:54:02 +0000 (10:54 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Fri, 19 Jun 2015 08:54:02 +0000 (10:54 +0200) |
src/curl_json.c | patch | blob | history |
diff --git a/src/curl_json.c b/src/curl_json.c
index ff07e76b54a631b693d345d4d0874b90122daa4b..6fdae51d2bf74b29ed4028ee2e77e5c66ca33954 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)