Skip to content

Commit

Permalink
match sexp_gc_releaseN count in sexp_add_import_binding
Browse files Browse the repository at this point in the history
The count is not actually used but could be in the future.
  • Loading branch information
ashinn committed May 29, 2024
1 parent b5de5ec commit 580aaf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
sym = sexp_intern(ctx, "import", -1);
sexp_env_define(ctx, env, sym, tmp);
sexp_gc_release3(ctx);
sexp_gc_release2(ctx);
return env;
}

Expand Down

0 comments on commit 580aaf3

Please sign in to comment.