Review Board 1.7.16

res_pjsip_registrar_expire.c: Cleanup scheduler leaks on unload/shutdown.

Review Request #4523 - Created March 25, 2015 and submitted

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.
Before the patch valgrind reported struct contact_expiration object memory leaks.
After the patch valgrind no longer reports those leaks.
Review request changed
Updated (March 27, 2015, 4:24 p.m.)
  • changed from pending to submitted
Committed in revision 433644 runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to