[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:56:27 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:56 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.
======================================================================
----------------------------------------------------------------------
(0102473) svnbot (reporter) - 2009-03-31 09:56
http://bugs.digium.com/view.php?id=14672#c102473
----------------------------------------------------------------------
Repository: asterisk
Revision: 185262
_U branches/1.6.0/
U branches/1.6.0/apps/app_queue.c
------------------------------------------------------------------------
r185262 | russell | 2009-03-31 09:56:27 -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=185262
Issue History
Date Modified Username Field Change
======================================================================
2009-03-31 09:56 svnbot Checkin
2009-03-31 09:56 svnbot Note Added: 0102473
======================================================================
More information about the asterisk-bugs
mailing list