[Freeswitch-svn] [commit] r12277 - in freeswitch/trunk: scripts src/mod/applications/mod_commands
FreeSWITCH SVN
anthm at freeswitch.org
Wed Feb 25 08:37:00 PST 2009
Author: anthm
Date: Wed Feb 25 10:37:00 2009
New Revision: 12277
Log:
declinatio mortuus obfirmo!
Modified:
freeswitch/trunk/scripts/freeswitch-gcore
freeswitch/trunk/src/mod/applications/mod_commands/mod_commands.c
Modified: freeswitch/trunk/scripts/freeswitch-gcore
==============================================================================
--- freeswitch/trunk/scripts/freeswitch-gcore (original)
+++ freeswitch/trunk/scripts/freeswitch-gcore Wed Feb 25 10:37:00 2009
@@ -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
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 Wed Feb 25 10:37:00 2009
@@ -459,7 +459,6 @@
end:
if (session || tf) {
stream->write_function(stream, err ? "false" : "true");
- switch_xml_free(xml);
} else {
if (err) {
if (host) {
More information about the Freeswitch-svn
mailing list