[asterisk-bugs] [Asterisk 0014672]: Incorrect calling of free() at alloc_queue() in app_queue.c

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Mar 31 09:59:14 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14672 
====================================================================== 
Reported By:                makoto
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   14672
Category:                   Applications/app_queue
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-16 08:53 CDT
Last Modified:              2009-03-31 09:59 CDT
====================================================================== 
Summary:                    Incorrect calling of free() at alloc_queue() in
app_queue.c
Description: 
In alloc_queue() q is freed by free(), but I believe that this should be
ao2_ref(q, -1) instead.

====================================================================== 

---------------------------------------------------------------------- 
 (0102475) svnbot (reporter) - 2009-03-31 09:59
 http://bugs.digium.com/view.php?id=14672#c102475 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 185264

_U  branches/1.6.2/
U   branches/1.6.2/apps/app_queue.c

------------------------------------------------------------------------
r185264 | russell | 2009-03-31 09:59:13 -0500 (Tue, 31 Mar 2009) | 13
lines

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 http://bugs.digium.com/view.php?id=14672)
Reported by: makoto

........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=185264 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-03-31 09:59 svnbot         Checkin                                      
2009-03-31 09:59 svnbot         Note Added: 0102475                          
======================================================================




More information about the asterisk-bugs mailing list