[asterisk-commits] qwell: trunk r87909 - in /trunk: ./ res/res_jabber.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Oct 31 16:23:42 CDT 2007
Author: qwell
Date: Wed Oct 31 16:23:42 2007
New Revision: 87909
URL: http://svn.digium.com/view/asterisk?view=rev&rev=87909
Log:
Merged revisions 87908 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
(closes issue #11131)
........
r87908 | qwell | 2007-10-31 16:23:11 -0500 (Wed, 31 Oct 2007) | 4 lines
Make sure we free some allocated memory before returning.
Issue 11131, patch by eliel.
........
Modified:
trunk/ (props changed)
trunk/res/res_jabber.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/res/res_jabber.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_jabber.c?view=diff&rev=87909&r1=87908&r2=87909
==============================================================================
--- trunk/res/res_jabber.c (original)
+++ trunk/res/res_jabber.c Wed Oct 31 16:23:42 2007
@@ -250,6 +250,7 @@
res = ast_malloc(sizeof(*res));
if(!res) {
ast_log(LOG_ERROR, "Out of memory!\n");
+ ast_free(list);
return NULL;
}
ast_copy_string(list->node, node, sizeof(list->node));
More information about the asterisk-commits
mailing list