From: Anthony Minessale Date: Thu, 20 Nov 2008 20:13:54 +0000 (+0000) Subject: up X-Git-Tag: v1.0.2~446 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ceccbe213fc81be03fc4f35ad72029c61470145;p=thirdparty%2Ffreeswitch.git up git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10482 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index 568f76025f..20f8fa8690 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -1285,9 +1285,6 @@ SWITCH_STANDARD_API(uuid_deflect) 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);