[Freeswitch-svn] [commit] r7563 - freeswitch/trunk/src/mod/applications/mod_voicemail

Freeswitch SVN mikej at freeswitch.org
Fri Feb 8 18:31:22 EST 2008


Author: mikej
Date: Fri Feb  8 18:31:22 2008
New Revision: 7563

Modified:
   freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c

Log:
dup these too.

Modified: freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_voicemail/mod_voicemail.c	Fri Feb  8 18:31:22 2008
@@ -584,8 +584,8 @@
 
 			profile->email_body = email_body;
 			profile->email_headers = email_headers;
-			profile->email_from = email_from;
-			profile->date_fmt = date_fmt;
+			profile->email_from = switch_core_strdup(globals.pool, email_from);
+			profile->date_fmt = switch_core_strdup(globals.pool, date_fmt);
 
 			profile->digit_timeout = timeout;
 			profile->max_login_attempts = max_login_attempts;



More information about the Freeswitch-svn mailing list