From: Anthony Minessale Date: Wed, 25 Feb 2009 16:37:00 +0000 (+0000) Subject: declinatio mortuus obfirmo! X-Git-Tag: v1.0.4~1828 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fcbbca37ff6358055861b78406b564bd632bcf5;p=thirdparty%2Ffreeswitch.git declinatio mortuus obfirmo! git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12277 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/scripts/freeswitch-gcore b/scripts/freeswitch-gcore index d1ca0feaca..1c31e06a2f 100644 --- a/scripts/freeswitch-gcore +++ b/scripts/freeswitch-gcore @@ -1,12 +1,12 @@ #!/bin/bash -fspid=$(cat /usr/local/freeswitch/log/freeswitch.pid) -gcore -o /usr/local/freeswitch/log/freeswitch.gcore $fspid && \ - gdb /usr/local/freeswitch/bin/freeswitch \ - -c /usr/local/freeswitch/log/freeswitch.gcore.$fspid \ +fspid=$(cat /opt/freeswitch/log/freeswitch.pid) +gcore -o /opt/freeswitch/log/freeswitch.gcore $fspid && \ + gdb /opt/freeswitch/bin/freeswitch \ + -c /opt/freeswitch/log/freeswitch.gcore.$fspid \ --eval-command='set pagination off' \ --eval-command='bt' \ --eval-command='bt full' \ --eval-command='thread apply all bt' \ --eval-command='thread apply all bt full' \ --eval-command='quit' -#rm /usr/local/freeswitch/log/freeswitch.gcore.$fspid +#rm /opt/freeswitch/log/freeswitch.gcore.$fspid diff --git a/src/mod/applications/mod_commands/mod_commands.c b/src/mod/applications/mod_commands/mod_commands.c index dbd27750eb..7883efd124 100644 --- a/src/mod/applications/mod_commands/mod_commands.c +++ b/src/mod/applications/mod_commands/mod_commands.c @@ -459,7 +459,6 @@ static switch_status_t _find_user(const char *cmd, switch_core_session_t *sessio end: if (session || tf) { stream->write_function(stream, err ? "false" : "true"); - switch_xml_free(xml); } else { if (err) { if (host) {