]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
MODEVENT-54
authorAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Sep 2009 21:23:00 +0000 (21:23 +0000)
committerAnthony Minessale <anthony.minessale@gmail.com>
Wed, 16 Sep 2009 21:23:00 +0000 (21:23 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14892 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/event_handlers/mod_event_socket/mod_event_socket.c

index f5417e695b51e32b42c54a7442863dba130bcc79..e9a246ddb5c0253425b0be746fa9304a823a090c 100644 (file)
@@ -1486,7 +1486,7 @@ static switch_status_t parse_command(listener_t *listener, switch_event_t **even
                        len = strlen(event_str);
                        switch_socket_send(listener->sock, event_str, &len);
                        switch_safe_free(event_str);
-
+                       switch_event_destroy(&call_event);
                        //switch_snprintf(reply, reply_len, "+OK");
                        goto done_noreply;
                } else if (!strncasecmp(cmd, "getvar", 6)) {