[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:53:46 CDT 2009
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=14672
======================================================================
Reported By: makoto
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 14672
Category: Applications/app_queue
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: SVN
Regression: No
SVN Branch (only for SVN checkouts, not tarball releases): trunk
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2009-03-16 08:53 CDT
Last Modified: 2009-03-31 09:53 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.
======================================================================
----------------------------------------------------------------------
(0102471) svnbot (reporter) - 2009-03-31 09:53
http://bugs.digium.com/view.php?id=14672#c102471
----------------------------------------------------------------------
Repository: asterisk
Revision: 185261
U trunk/apps/app_queue.c
------------------------------------------------------------------------
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=185261
Issue History
Date Modified Username Field Change
======================================================================
2009-03-31 09:53 svnbot Checkin
2009-03-31 09:53 svnbot Note Added: 0102471
======================================================================
More information about the asterisk-bugs
mailing list