match sexp_gc_releaseN count in sexp_add_import_binding

The count is not actually used but could be in the future.
This commit is contained in:
Alex Shinn 2024-05-29 09:26:40 +09:00
parent b5de5eca92
commit 580aaf35ff

2
main.c
View file

@ -242,7 +242,7 @@ static sexp sexp_add_import_binding (sexp ctx, sexp env) {
tmp = sexp_env_ref(ctx, sexp_meta_env(ctx), sym, SEXP_VOID); tmp = sexp_env_ref(ctx, sexp_meta_env(ctx), sym, SEXP_VOID);
sym = sexp_intern(ctx, "import", -1); sym = sexp_intern(ctx, "import", -1);
sexp_env_define(ctx, env, sym, tmp); sexp_env_define(ctx, env, sym, tmp);
sexp_gc_release3(ctx); sexp_gc_release2(ctx);
return env; return env;
} }