[asterisk-commits] russell: branch 1.6.2 r185264 - in /branches/1.6.2: ./ apps/app_queue.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Tue Mar 31 09:59:17 CDT 2009
Author: russell
Date: Tue Mar 31 09:59:13 2009
New Revision: 185264
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=185264
Log:
Merged revisions 185261 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r185261 | russell | 2009-03-31 09:53:45 -0500 (Tue, 31 Mar 2009) | 5 lines
Don't free() an astobj2 object.
(closes issue #14672)
Reported by: makoto
........
Modified:
branches/1.6.2/ (props changed)
branches/1.6.2/apps/app_queue.c
Propchange: branches/1.6.2/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.
Modified: branches/1.6.2/apps/app_queue.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.6.2/apps/app_queue.c?view=diff&rev=185264&r1=185263&r2=185264
==============================================================================
--- branches/1.6.2/apps/app_queue.c (original)
+++ branches/1.6.2/apps/app_queue.c Tue Mar 31 09:59:13 2009
@@ -1630,7 +1630,7 @@
if ((q = ao2_alloc(sizeof(*q), destroy_queue))) {
if (ast_string_field_init(q, 64)) {
- free(q);
+ ao2_ref(q, -1);
return NULL;
}
ast_string_field_set(q, name, queuename);
More information about the asterisk-commits
mailing list