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