The member refcount must be incremented, to avoid using it after deallocation.
commit34f5237773be97d002a67c751ba24398d48750eb
authortilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 7 Nov 2007 23:39:37 +0000 (7 23:39 +0000)
committertilghman <tilghman@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 7 Nov 2007 23:39:37 +0000 (7 23:39 +0000)
tree7b6695fe8e59d37f395a3a939ca50a4391c9991e
parente3043ca113b3d04cd6c74fe80a3a6a113c312d86
The member refcount must be incremented, to avoid using it after deallocation.
A huge thanks go to lvl- for patiently providing the necessary valgrind output
that was necessary to finding this problem of memory corruption.
Reported by: lvl-
Patch by: tilghman
Closes issue #11174

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@89093 614ede4d-c843-0410-af14-a771ab80d22e
apps/app_queue.c