Skip to content

Commit

Permalink
pal_free
Browse files Browse the repository at this point in the history
  • Loading branch information
lygstate committed Jan 4, 2025
1 parent af17049 commit c598583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion quickjs-libc.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ uint8_t *js_load_file(JSContext *ctx, size_t *pbuf_len, const char *filename)
if (ctx)
js_free(ctx, buf);
else
free(buf);
pal_free(buf);
buf = NULL;
goto done;
}
Expand Down

0 comments on commit c598583

Please sign in to comment.