[Freeswitch-svn] [commit] r9344 - freeswitch/trunk/src/mod/event_handlers/mod_event_socket
Freeswitch SVN
anthm at freeswitch.org
Thu Aug 21 13:32:57 EDT 2008
Author: anthm
Date: Thu Aug 21 13:32:57 2008
New Revision: 9344
Modified:
freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
Log:
fix fix of the fixed fix
Modified: freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c
==============================================================================
--- freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c (original)
+++ freeswitch/trunk/src/mod/event_handlers/mod_event_socket/mod_event_socket.c Thu Aug 21 13:32:57 2008
@@ -1255,7 +1255,9 @@
break;
}
- switch_event_safe_destroy((&revent));
+ if (revent) {
+ switch_event_destroy(&revent);
+ }
if (*reply != '\0') {
if (*reply == '~') {
@@ -1271,7 +1273,9 @@
done:
- switch_event_safe_destroy((&revent));
+ if (revent) {
+ switch_event_destroy(&revent);
+ }
remove_listener(listener);
More information about the Freeswitch-svn
mailing list