diff options
author | Christian Grothoff <christian@grothoff.org> | 2016-04-17 15:17:28 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2016-04-17 15:17:28 +0000 |
commit | 7200a570471907816431a57fe914ff5557118ee9 (patch) | |
tree | 28754e54a4b24ddd36c666a75a308a3658795839 /src/curl | |
parent | 16642c4cb25faae335591b39795c71dedbeb37f1 (diff) |
-use const and free json where it was allocated
Diffstat (limited to 'src/curl')
-rw-r--r-- | src/curl/curl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c index 10ba7f719c..9276915b32 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c @@ -453,6 +453,7 @@ GNUNET_CURL_perform (struct GNUNET_CURL_Context *ctx) job->jcc (job->jcc_cls, response_code, j); + json_decref (j); GNUNET_CURL_job_cancel (job); } } |