]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
up
authorAnthony Minessale <anthony.minessale@gmail.com>
Thu, 20 Nov 2008 20:13:54 +0000 (20:13 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Thu, 20 Nov 2008 20:13:54 +0000 (20:13 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10482 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/applications/mod_commands/mod_commands.c

index 568f76025f3a511004350a45e62b673fc2f4c970..20f8fa8690be1a4a7d73c64dccb56365006009f7 100644 (file)
@@ -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);