]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_config_wizard: Memory leak in module_unload 55/4055/1
authorBadalyan Vyacheslav <v.badalyan@open-bs.ru>
Mon, 10 Oct 2016 15:59:38 +0000 (11:59 -0400)
committerBadalian Vyacheslav <v.badalyan@open-bs.ru>
Mon, 10 Oct 2016 16:04:42 +0000 (11:04 -0500)
commit9da3489d247775fb06bee40fe4cf26640681fb93
tree91c4d3aec5f7a24aee7f4ace7abdd1b56e8e65be
parentf809850aa07ef824ef4fc923db16308277e4bc60
res_pjsip_config_wizard: Memory leak in module_unload

Fixed a memory leak. It removes only the first element.
Added a useful feature in vector.h to remove all items
under the CMP through a callback function / macro.

ASTERISK-26453 #close

Change-Id: I84508353463456d2495678f125738e20052da950
include/asterisk/vector.h
res/res_pjsip_config_wizard.c