]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_config_wizard: Memory leak in module_unload 56/4056/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:05:00 +0000 (11:05 -0500)
commit188237fa8202a0465e0b4c1ec61604f22d7cd7c5
tree1692975f85fec0ad7d679b07d3a85970347301cc
parent741c2e157096b5c1f38f0c9a9ca08ae8d7197c7e
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