]> git.ipfire.org Git - thirdparty/asterisk.git/commit
autoservice: fix reference leak of logger callid.
authorCorey Farrell <git@cfware.com>
Mon, 14 Apr 2014 15:53:26 +0000 (15:53 +0000)
committerCorey Farrell <git@cfware.com>
Mon, 14 Apr 2014 15:53:26 +0000 (15:53 +0000)
commite15cab352383a54a83a38f03e419f54c884aad4f
tree55b6a93d59580dddcb3f3bce3ef0a4332c6e9a18
parent8dc10400b7150ce9484df4ddaaf409200f6301bd
autoservice: fix reference leak of logger callid.

autoservice acquires a local reference to the logger callid of each channel
in a loop.  This local reference was not released, causing the callid of
every channel in autoservice to leak.  This change moves the callid unref
inside the loop.

ASTERISK-23616 #close
Reported by: ibercom
........

Merged revisions 412305 from http://svn.asterisk.org/svn/asterisk/branches/11

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@412306 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/autoservice.c