aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_disa.c
diff options
context:
space:
mode:
authormmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-28 00:12:52 +0000
committermmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b>2008-03-28 00:12:52 +0000
commitf7907bb9c339f250f0f1f29e5d6cbf14c91b23ff (patch)
tree9e95e197f7cecd4660c3e1c321493f9627129a50 /apps/app_disa.c
parentcaab44dbedf1a060addb7b1dc8820ac55a2a23ce (diff)
Fix a crash that would happen when attempting to unload the app_queue module.
The problem was that when the refcount on the queue hit 0, the destructor was called, and inside the destructor, another function was called which would increase the refcount back to 1 again and then decrease it again back to 0 for every member in the queue. This meant that the destructor was being recursively called, leading to a double free of the queue. This is now fixed by making sure to unlink the queue from the queues container prior to the final unref of the queue. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111533 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_disa.c')
0 files changed, 0 insertions, 0 deletions