Browse Source

The event_methods hash is statically generated and should not be freed.

1.0.0
Georg Hopp 12 years ago
parent
commit
778b5c4d37
  1. 2
      src/event_handler_class_cleanup.c

2
src/event_handler_class_cleanup.c

@ -31,7 +31,7 @@ TR__eventHandlerClassCleanup(TR_class_ptr class)
while (class) {
struct c_TR_EventHandler_vars * vars;
vars = (struct c_TR_EventHandler_vars *)class->vars;
TR_delete(vars->event_methods);
TR_hashCleanup(vars->event_methods);
class = class->parent;
}
}

Loading…
Cancel
Save