From df8e5c11682464b9f747788d8c928a4e520e5462 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Fri, 19 Jun 2015 10:54:02 +0200 Subject: [PATCH] curl_xml plugin: Fix memory leak. --- src/curl_xml.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/curl_xml.c b/src/curl_xml.c index 44e920c2..3b153964 100644 --- a/src/curl_xml.c +++ b/src/curl_xml.c @@ -919,6 +919,7 @@ static int cx_config_add_url (oconfig_item_t *ci) /* {{{ */ { ERROR ("curl_xml plugin: cx_config: " "Invalid key: %s", ci->key); + cx_free (db); return (-1); } -- 2.11.0