Commit 778b5c4d378226658265eeb7dfc0e9d9c27fe131
1 parent
59ef0fbb
The event_methods hash is statically generated and should not be freed.
Showing
1 changed file
with
1 additions
and
1 deletions
... | ... | @@ -31,7 +31,7 @@ TR__eventHandlerClassCleanup(TR_class_ptr class) |
31 | 31 | while (class) { |
32 | 32 | struct c_TR_EventHandler_vars * vars; |
33 | 33 | vars = (struct c_TR_EventHandler_vars *)class->vars; |
34 | - TR_delete(vars->event_methods); | |
34 | + TR_hashCleanup(vars->event_methods); | |
35 | 35 | class = class->parent; |
36 | 36 | } |
37 | 37 | } | ... | ... |
Please
register
or
login
to post a comment