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:
Sean Bright
2009-05-26 16:38:54 +00:00
parent 3abe8a963e
commit 7ee6e9f4ce

View File

@@ -1216,6 +1216,7 @@ static int handle_statechange(void *datap)
} }
ao2_unlock(q); ao2_unlock(q);
ao2_ref(q, -1);
} }
if (found) if (found)