]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
declinatio mortuus obfirmo!
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 25 Feb 2009 16:37:00 +0000 (16:37 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 25 Feb 2009 16:37:00 +0000 (16:37 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12277 d0543943-73ff-0310-b7d9-9358b9ac24b2

scripts/freeswitch-gcore
src/mod/applications/mod_commands/mod_commands.c

index d1ca0feaca560e7b206b309b1bc410406b54a34b..1c31e06a2f728b0b311bc523820cccfc18c42294 100644 (file)
@@ -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
index dbd27750ebe343933fb32fc09dafcd2717b155b3..7883efd12452333f7dbd0c35cc777c7d811fc717 100644 (file)
@@ -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) {