From 354ae76fa3ca0c4dbb20c36c7f52d5d4d391dba9 Mon Sep 17 00:00:00 2001 From: Paul Sadauskas Date: Wed, 17 Jun 2009 10:49:02 -0600 Subject: [PATCH] http plugin: Fix a memory leak by cleaning up the curl handles --- src/http.c | 2 ++ 1 file changed, 2 insertions(+) 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 */ -- 2.30.2