mod_voicemail: add missing switch_event_destroy in profile config function
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c 2009-10-28 20:48:56 UTC (rev 15261)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c 2009-10-28 21:32:20 UTC (rev 15262)
@@ -779,6 +779,9 @@
if (xml) {
switch_xml_free(xml);
}
+ if (event) {
+ switch_event_destroy(&event);
+ }
return profile;
}