diff options
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r-- | src/curl/curl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/curl/curl.c b/src/curl/curl.c index b7452330f..a63a10f3b 100644 --- a/src/curl/curl.c +++ b/src/curl/curl.c | |||
@@ -529,7 +529,7 @@ GNUNET_CURL_job_cancel (struct GNUNET_CURL_Job *job) | |||
529 | GNUNET_break (CURLM_OK == | 529 | GNUNET_break (CURLM_OK == |
530 | curl_multi_remove_handle (ctx->multi, job->easy_handle)); | 530 | curl_multi_remove_handle (ctx->multi, job->easy_handle)); |
531 | curl_easy_cleanup (job->easy_handle); | 531 | curl_easy_cleanup (job->easy_handle); |
532 | GNUNET_free_non_null (job->db.buf); | 532 | GNUNET_free (job->db.buf); |
533 | curl_slist_free_all (job->job_headers); | 533 | curl_slist_free_all (job->job_headers); |
534 | ctx->cb (ctx->cb_cls); | 534 | ctx->cb (ctx->cb_cls); |
535 | GNUNET_free (job); | 535 | GNUNET_free (job); |
@@ -642,7 +642,7 @@ GNUNET_CURL_download_get_result_ (struct GNUNET_CURL_DownloadBuffer *db, | |||
642 | *response_code = 0; | 642 | *response_code = 0; |
643 | } | 643 | } |
644 | } | 644 | } |
645 | GNUNET_free_non_null (db->buf); | 645 | GNUNET_free (db->buf); |
646 | db->buf = NULL; | 646 | db->buf = NULL; |
647 | db->buf_size = 0; | 647 | db->buf_size = 0; |
648 | if (NULL != json) | 648 | if (NULL != json) |