Revision
15262
Author
mrene
Date
2009-10-28 16:32:20 -0500 (Wed, 28 Oct 2009)

Log Message

mod_voicemail: add missing switch_event_destroy in profile config function

Modified Paths

Diff

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c (15261 => 15262)


--- 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;
 
 }