[Freeswitch-svn] [commit] r7847 - freeswitch/trunk/src/mod/xml_int/mod_xml_curl

Freeswitch SVN mikej at freeswitch.org
Sat Mar 8 16:15:02 EST 2008


Author: mikej
Date: Sat Mar  8 16:15:02 2008
New Revision: 7847

Modified:
   freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c

Log:
silly rabbit, leaks are for kids.

Modified: freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c
==============================================================================
--- freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	(original)
+++ freeswitch/trunk/src/mod/xml_int/mod_xml_curl/mod_xml_curl.c	Sat Mar  8 16:15:02 2008
@@ -176,6 +176,7 @@
 		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");



More information about the Freeswitch-svn mailing list