Merge pull request #317 from edk0/leak

librb/event: Don't leak event names on completion
This commit is contained in:
Aaron Jones 2020-04-19 14:25:14 +00:00 committed by GitHub
commit 30193794a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -250,6 +250,7 @@ rb_event_run(void)
else
{
rb_dlinkDelete(&ev->node, &event_list);
rb_free(ev->name);
rb_free(ev);
}
}