From 61c65f3df1b53b9a949bb41070f509f2716a7d04 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 31 Dec 2020 16:30:54 -0600 Subject: [PATCH] Fix valgrind warning. --- src/core/ev.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/ev.c b/src/core/ev.c index 0939857a..c5570cf0 100644 --- a/src/core/ev.c +++ b/src/core/ev.c @@ -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; }