[svn-commits] russell: branch 1.4 r65394 - in /branches/1.4: ./
apps/app_queue.c
svn-commits at lists.digium.com
svn-commits at lists.digium.com
Tue May 22 06:09:35 MST 2007
Author: russell
Date: Tue May 22 08:09:34 2007
New Revision: 65394
URL: http://svn.digium.com/view/asterisk?view=rev&rev=65394
Log:
Merged revisions 65389 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r65389 | russell | 2007-05-22 08:07:03 -0500 (Tue, 22 May 2007) | 4 lines
Fix a memory leak that I just noticed in the device state handling in app_queue.
On most device state changes, it would leak roughly 8 to 64 bytes (the length of
the name of the device).
........
Modified:
branches/1.4/ (props changed)
branches/1.4/apps/app_queue.c
Propchange: branches/1.4/
------------------------------------------------------------------------------
Binary property 'branch-1.2-merged' - no diff available.
Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=65394&r1=65393&r2=65394
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Tue May 22 08:09:34 2007
@@ -586,6 +586,8 @@
ast_mutex_unlock(&q->lock);
}
AST_LIST_UNLOCK(&queues);
+
+ free(sc);
return NULL;
}
More information about the svn-commits
mailing list