From 263054bc6dd7e435a6aea0bee70d522db6b28c69 Mon Sep 17 00:00:00 2001 From: yan-mingzhen Date: Fri, 29 Nov 2024 15:02:24 +0800 Subject: [PATCH] fix: fix iop leak Signed-off-by: yan-mingzhen --- syn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syn.c b/syn.c index bcb5a5a..7975c33 100644 --- a/syn.c +++ b/syn.c @@ -272,7 +272,7 @@ get_command(int cf, int sALIAS) XPtrV args, vars; struct nesting_state old_nesting; bool check_decl_utility; - static struct ioword *iops[NUFILE + 1]; + struct ioword *iops[NUFILE + 1]; XPinit(args, 16); XPinit(vars, 16);