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) {
|
||||
switch_xml_free(xml);
|
||||
}
|
||||
if (event) {
|
||||
switch_event_destroy(&event);
|
||||
}
|
||||
return profile;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue