]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
don't free the event subclass in switch_event_unbind_callback(). thx crienzo
authorMathieu Rene <mrene@avgs.ca>
Wed, 17 Feb 2010 01:01:13 +0000 (01:01 +0000)
committerMathieu Rene <mrene@avgs.ca>
Wed, 17 Feb 2010 01:01:13 +0000 (01:01 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16666 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_event.c

index 40ea9e1fa07e787ef0ac3e08655525c73ecda73b..64ef1b317574052bb3ede4131b527c80faa43d84 100644 (file)
@@ -1269,11 +1269,6 @@ SWITCH_DECLARE(switch_status_t) switch_event_unbind_callback(switch_event_callba
                                }
 
                                switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_NOTICE, "Event Binding deleted for %s:%s\n", n->id, switch_event_name(n->event_id));
-                               if (n->subclass) {
-                                       FREE(n->subclass->owner);
-                                       FREE(n->subclass->name);
-                                       FREE(n->subclass);
-                               }
                                FREE(n->id);
                                FREE(n);
                                status = SWITCH_STATUS_SUCCESS;