]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_config_wizard: fix unload SEGV
authorGeorge Joseph <george.joseph@fairview5.com>
Thu, 18 Dec 2014 00:10:51 +0000 (00:10 +0000)
committerGeorge Joseph <george.joseph@fairview5.com>
Thu, 18 Dec 2014 00:10:51 +0000 (00:10 +0000)
commitb4621cd0f538dc71a0418b57750a79e39ace2944
tree0f2f05e352fbb4a89a91ae28601756e19911094c
parent105f224cfd9a3651cb78f21e4f60b656013be488
res_pjsip_config_wizard: fix unload SEGV

If certain pjsip modules aren't loaded, the wizard causes a SEGV
when it unloads.  Added a check for the presense of the object
type wizard before trying to clean it up.

Tested-by: George Joseph
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@429719 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_config_wizard.c