]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_musiconhold: Fix reference leaks caused when reloading with REF_DEBUG set
authorJonathan Rose <jrose@digium.com>
Thu, 21 Aug 2014 21:00:31 +0000 (21:00 +0000)
committerJonathan Rose <jrose@digium.com>
Thu, 21 Aug 2014 21:00:31 +0000 (21:00 +0000)
commit3045568e47d1e8bf22723fc2e7b7f58b5fd49ba8
tree9c0d1afae23ec4387112e6087eec4ef30ce0b73a
parent6c4c543d4899f0c7a680d172f391406a4be1d787
res_musiconhold: Fix reference leaks caused when reloading with REF_DEBUG set

Due to a faulty function for debugging reference decrementing, it was possible
to reduce the refcount on the wrong object if two moh classes of the same name
were in the moh class container.

(closes issue ASTERISK-22252)
Reported by: Walter Doekes
Patches:
    18_moh_debug_ref_patch.diff Uploaded by Jonathan Rose (license 6182)
........

Merged revisions 398937 from http://svn.asterisk.org/svn/asterisk/branches/1.8

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@421777 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_musiconhold.c