Rename __zipos_free -> __zipos_drop (#1043)

Removes the separate decref function, uses keep/drop in the internal
API.
This commit is contained in:
Jōshin 2023-12-26 12:08:57 -05:00 committed by GitHub
parent fd772b9b2a
commit 5c35863524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 15 deletions

View file

@ -39,7 +39,7 @@ int __zipos_close(int fd) {
if (!__vforked) {
struct ZiposHandle *h;
h = (struct ZiposHandle *)(intptr_t)g_fds.p[fd].handle;
__zipos_free(h);
__zipos_drop(h);
}
return rc;
}