[Home]

Summary:ASTERISK-13754: Incorrect calling of free() at alloc_queue() in app_queue.c
Reporter:Makoto Dei (makoto)Labels:
Date Opened:2009-03-16 08:53:37Date Closed:2009-03-31 09:59:14
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_queue
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:In alloc_queue() q is freed by free(), but I believe that this should be ao2_ref(q, -1) instead.
Comments:By: Digium Subversion (svnbot) 2009-03-31 09:53:46

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 ASTERISK-13754)
Reported by: makoto

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

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

By: Digium Subversion (svnbot) 2009-03-31 09:56:27

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 ASTERISK-13754)
Reported by: makoto

........

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

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

By: Digium Subversion (svnbot) 2009-03-31 09:57:46

Repository: asterisk
Revision: 185263

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

------------------------------------------------------------------------
r185263 | russell | 2009-03-31 09:57:46 -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 ASTERISK-13754)
Reported by: makoto

........

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

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

By: Digium Subversion (svnbot) 2009-03-31 09:59:13

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 ASTERISK-13754)
Reported by: makoto

........

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

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