summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--compiler.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler.c b/compiler.c
index 6911477..43ad9da 100644
--- a/compiler.c
+++ b/compiler.c
@@ -3602,6 +3602,8 @@ uc_compiler_compile_import(uc_compiler_t *compiler)
uc_compiler_syntax_error(compiler, compiler->parser->prev.pos,
"Imports may only appear at top level");
+ ucv_put(namelist);
+
return;
}