mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-21 12:30:41 +00:00
Add a missing unref for queues in handle_statechange.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196792 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1216,6 +1216,7 @@ static int handle_statechange(void *datap)
|
|||||||
}
|
}
|
||||||
|
|
||||||
ao2_unlock(q);
|
ao2_unlock(q);
|
||||||
|
ao2_ref(q, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (found)
|
if (found)
|
||||||
|
Reference in New Issue
Block a user