1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-27 00:40:26 +00:00

Fix valgrind warning.

This commit is contained in:
Calvin Rose 2020-12-31 16:30:54 -06:00
parent 05166b3673
commit 61c65f3df1

View File

@ -522,6 +522,7 @@ void janet_ev_init_common(void) {
/* Common deinit code */
void janet_ev_deinit_common(void) {
janet_q_deinit(&janet_vm_spawn);
free(janet_vm_tq);
free(janet_vm_listeners);
janet_vm_listeners = NULL;
}