silly rabbit, leaks are for kids.

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7847 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2008-03-08 21:15:02 +00:00
parent 2e0e95fa97
commit 8cb08af737
1 changed files with 1 additions and 0 deletions

View File

@ -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");