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:
parent
e3e485285b
commit
94c19575b1
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user