]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_registrar_expire.c: Cleanup scheduler leaks on unload/shutdown.
authorRichard Mudgett <rmudgett@digium.com>
Fri, 27 Mar 2015 17:50:51 +0000 (17:50 +0000)
committerRichard Mudgett <rmudgett@digium.com>
Fri, 27 Mar 2015 17:50:51 +0000 (17:50 +0000)
commitdc2cf21144b81800329bad4596ded07ed0882ed7
treed4442eda4fde035cfd5834620cf58c6763c755d3
parent6e6f5b3a1f77f583aa08d387cdcec41a8a7908aa
res_pjsip_registrar_expire.c: Cleanup scheduler leaks on unload/shutdown.

Contact expiration object refs were leaked when the module was unloaded.

* Made empty the scheduler of entries before destroying it to release the
object ref held by the scheduler entry.

Review: https://reviewboard.asterisk.org/r/4523/

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@433596 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_registrar_expire.c