[asterisk-commits] tilghman: trunk r57651 - in /trunk: ./
apps/app_voicemail.c
asterisk-commits at lists.digium.com
asterisk-commits at lists.digium.com
Fri Mar 2 23:46:24 MST 2007
Author: tilghman
Date: Sat Mar 3 00:46:24 2007
New Revision: 57651
URL: http://svn.digium.com/view/asterisk?view=rev&rev=57651
Log:
Merged revisions 57649 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
................
r57649 | tilghman | 2007-03-03 00:45:00 -0600 (Sat, 03 Mar 2007) | 10 lines
Merged revisions 57648 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r57648 | tilghman | 2007-03-03 00:36:55 -0600 (Sat, 03 Mar 2007) | 2 lines
Memory leak of a list, if call recording was abandoned
........
................
Modified:
trunk/ (props changed)
trunk/apps/app_voicemail.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?view=diff&rev=57651&r1=57650&r2=57651
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Sat Mar 3 00:46:24 2007
@@ -4219,6 +4219,10 @@
}
}
}
+
+ /* If anything failed above, we still have this list to free */
+ while ((vmtmp = AST_LIST_REMOVE_HEAD(&extensions, list)))
+ free_user(vmtmp);
return res ? res : cmd;
}
More information about the asterisk-commits
mailing list