[asterisk-commits] mvanbaak: trunk r130574 - in /trunk: ./ main/manager.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Sun Jul 13 17:50:32 CDT 2008
Author: mvanbaak
Date: Sun Jul 13 17:50:31 2008
New Revision: 130574
URL: http://svn.digium.com/view/asterisk?view=rev&rev=130574
Log:
Merged revisions 130573 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r130573 | mvanbaak | 2008-07-14 00:48:51 +0200 (Mon, 14 Jul 2008) | 8 lines
fix memory leak when originate from manager cannot create a thread
(closes issue #13069)
Reported by: gknispel_proformatique
Patches:
asterisk_trunk_action_originate.patch uploaded by gknispel (license 261)
Tested by: gknispel_proformatique, mvanbaak
........
Modified:
trunk/ (props changed)
trunk/main/manager.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.
Modified: trunk/main/manager.c
URL: http://svn.digium.com/view/asterisk/trunk/main/manager.c?view=diff&rev=130574&r1=130573&r2=130574
==============================================================================
--- trunk/main/manager.c (original)
+++ trunk/main/manager.c Sun Jul 13 17:50:31 2008
@@ -2342,6 +2342,7 @@
fast->timeout = to;
fast->priority = pi;
if (ast_pthread_create_detached(&th, NULL, fast_originate, fast)) {
+ ast_free(fast);
res = -1;
} else {
res = 0;
More information about the asterisk-commits
mailing list