librb/event: Don't leak event names on completion
This commit is contained in:
parent
2c11ccb99e
commit
ad516b7d47
1 changed files with 1 additions and 0 deletions
|
@ -250,6 +250,7 @@ rb_event_run(void)
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
rb_dlinkDelete(&ev->node, &event_list);
|
rb_dlinkDelete(&ev->node, &event_list);
|
||||||
|
rb_free(ev->name);
|
||||||
rb_free(ev);
|
rb_free(ev);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue