[Freeswitch-svn] [commit] r10482 - freeswitch/trunk/src/mod/applications/mod_commands

FreeSWITCH SVN anthm at freeswitch.org
Thu Nov 20 12:13:54 PST 2008


Author: anthm
Date: Thu Nov 20 15:13:54 2008
New Revision: 10482

Log:
up

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

Modified: freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c	Thu Nov 20 15:13:54 2008
@@ -1285,9 +1285,6 @@
 			msg.message_id = SWITCH_MESSAGE_INDICATE_DEFLECT;
 			switch_core_session_receive_message(tsession, &msg);
 			stream->write_function(stream, "+OK:%s\n", msg.string_reply);
-			if (switch_set_flag((&msg), SCSMF_FREE_STRING_REPLY)) {
-				free(msg.string_reply);
-			}
 			switch_core_session_rwunlock(tsession);
 		} else {
 			stream->write_function(stream, "-ERR No Such Channel %s!\n", uuid);



More information about the Freeswitch-svn mailing list