From e0eedd800886e1f4a6e0b16f6ae95c3201a14fb7 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 19 Jun 2015 10:54:02 +0200 Subject: [PATCH] apache plugin: Fix memory leak. --- src/apache.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/apache.c b/src/apache.c index f0ab22a8..16f7acd3 100644 --- a/src/apache.c +++ b/src/apache.c @@ -78,6 +78,7 @@ static void apache_free (apache_t *st) curl_easy_cleanup(st->curl); st->curl = NULL; } + sfree (st); } /* apache_free */ static size_t apache_curl_callback (void *buf, size_t size, size_t nmemb, -- 2.30.2