[svn-commits] mvanbaak: branch 1.4 r130573 - /branches/1.4/main/manager.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Sun Jul 13 17:48:52 CDT 2008
Author: mvanbaak
Date: Sun Jul 13 17:48:51 2008
New Revision: 130573
URL: http://svn.digium.com/view/asterisk?view=rev&rev=130573
Log:
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:
branches/1.4/main/manager.c
Modified: branches/1.4/main/manager.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/manager.c?view=diff&rev=130573&r1=130572&r2=130573
==============================================================================
--- branches/1.4/main/manager.c (original)
+++ branches/1.4/main/manager.c Sun Jul 13 17:48:51 2008
@@ -1920,6 +1920,7 @@
pthread_attr_init(&attr);
pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED);
if (ast_pthread_create(&th, &attr, fast_originate, fast)) {
+ ast_free(fast);
res = -1;
} else {
res = 0;
More information about the svn-commits
mailing list