1
0
mirror of https://github.com/janet-lang/janet synced 2024-11-14 04:34:48 +00:00

Fix when clib is not pointer type.

This commit is contained in:
Calvin Rose 2022-06-06 13:37:07 -05:00
parent e3e485285b
commit 94c19575b1

View File

@ -389,7 +389,6 @@ JANET_CORE_FN(janet_core_native_close,
if (anative->closed) janet_panic("native object already closed");
anative->closed = 1;
free_clib(anative->clib);
anative->clib = NULL;
return janet_wrap_nil();
}