mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-04 09:44:26 +00:00
mod_voicemail: add missing switch_event_destroy in profile config function
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15262 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7e1ca7a9f2
commit
f5295b7483
@ -779,6 +779,9 @@ static vm_profile_t * load_profile(const char *profile_name)
|
|||||||
if (xml) {
|
if (xml) {
|
||||||
switch_xml_free(xml);
|
switch_xml_free(xml);
|
||||||
}
|
}
|
||||||
|
if (event) {
|
||||||
|
switch_event_destroy(&event);
|
||||||
|
}
|
||||||
return profile;
|
return profile;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user