Skip to content

Commit c598583

Browse files
committed
pal_free
1 parent af17049 commit c598583

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

quickjs-libc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ uint8_t *js_load_file(JSContext *ctx, size_t *pbuf_len, const char *filename)
372372
if (ctx)
373373
js_free(ctx, buf);
374374
else
375-
free(buf);
375+
pal_free(buf);
376376
buf = NULL;
377377
goto done;
378378
}

0 commit comments

Comments
 (0)