aboutsummaryrefslogtreecommitdiff
path: root/src/curl/curl.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
committerChristian Grothoff <christian@grothoff.org>2020-07-05 16:32:34 +0200
commite31c1d4a9f78c4e31fda1f98fe349b33abdd01a2 (patch)
tree61df772a93f7f21af7c715ddd4b9a3f1a50e0509 /src/curl/curl.c
parent1437556645417e6302862845e7ebcbd4c9908357 (diff)
downloadgnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.tar.gz
gnunet-e31c1d4a9f78c4e31fda1f98fe349b33abdd01a2.zip
GNUNET_free_non_null -> GNUNET_free
Diffstat (limited to 'src/curl/curl.c')
-rw-r--r--src/curl/curl.c4
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)