From: Paul Sadauskas Date: Wed, 17 Jun 2009 16:49:02 +0000 (-0600) Subject: http plugin: Fix a memory leak by cleaning up the curl handles X-Git-Tag: collectd-4.8.0~26^2~25 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=354ae76fa3ca0c4dbb20c36c7f52d5d4d391dba9;p=collectd.git http plugin: Fix a memory leak by cleaning up the curl handles --- diff --git a/src/http.c b/src/http.c index 6aad9de0..06737a3d 100644 --- a/src/http.c +++ b/src/http.c @@ -353,6 +353,8 @@ static int http_write (const data_set_t *ds, const value_list_t *vl, return (-1); } + curl_easy_cleanup(curl); + return (0); } /* int http_write */