From 774e30e796aad01b7e463f7a41ea83a612961667 Mon Sep 17 00:00:00 2001 From: Fabrice Bellard Date: Tue, 2 Jun 2026 14:17:40 +0200 Subject: [PATCH] fixed win32 compilation --- quickjs-libc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/quickjs-libc.c b/quickjs-libc.c index bd671b6..26e9683 100644 --- a/quickjs-libc.c +++ b/quickjs-libc.c @@ -4201,8 +4201,10 @@ void js_std_free_handlers(JSRuntime *rt) } #endif +#if !defined(_WIN32) free(ts->poll_fds); - +#endif + free(ts); JS_SetRuntimeOpaque(rt, NULL); /* fail safe */ }