[svn-commits] russell: branch 1.6.0 r134542 - in /branches/1.6.0: ./ funcs/func_curl.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Wed Jul 30 14:56:24 CDT 2008


Author: russell
Date: Wed Jul 30 14:56:24 2008
New Revision: 134542

URL: http://svn.digium.com/view/asterisk?view=rev&rev=134542
Log:
Merged revisions 134541 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r134541 | russell | 2008-07-30 14:55:31 -0500 (Wed, 30 Jul 2008) | 12 lines

Merged revisions 134540 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r134540 | russell | 2008-07-30 14:52:53 -0500 (Wed, 30 Jul 2008) | 4 lines

Fix a memory leak in func_curl.  Every thread that used this function leaked
an allocation the size of a pointer.
(reported by jmls in #asterisk-dev)

........

................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/funcs/func_curl.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/funcs/func_curl.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/funcs/func_curl.c?view=diff&rev=134542&r1=134541&r2=134542
==============================================================================
--- branches/1.6.0/funcs/func_curl.c (original)
+++ branches/1.6.0/funcs/func_curl.c Wed Jul 30 14:56:24 2008
@@ -99,6 +99,8 @@
 	CURL **curl = data;
 
 	curl_easy_cleanup(*curl);
+
+	ast_free(data);
 }
 
 AST_THREADSTORAGE_CUSTOM(curl_instance, curl_instance_init, curl_instance_cleanup);




More information about the svn-commits mailing list