From 8cb08af737b9db0ecb616c5b8866c1149305e283 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Sat, 8 Mar 2008 21:15:02 +0000 Subject: [PATCH] silly rabbit, leaks are for kids. git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7847 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/xml_int/mod_xml_curl/mod_xml_curl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c index 52712add1d..71b9c200fd 100644 --- a/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c +++ b/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c @@ -176,6 +176,7 @@ static switch_xml_t xml_url_fetch(const char *section, const char *tag_name, con curl_easy_getinfo(curl_handle, CURLINFO_RESPONSE_CODE, &httpRes); curl_easy_cleanup(curl_handle); curl_slist_free_all(headers); + curl_slist_free_all(slist); close(config_data.fd); } else { switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening temp file!\n");