pipefs: free instead of releasing on allocation failure

This commit is contained in:
Matheus
2025-09-01 23:22:15 -03:00
parent ca60b47209
commit 2040b17e5a
+1 -1
View File
@@ -414,7 +414,7 @@ int pipefs_newpipe(vnode_t **nodep) {
int e = ringbuffer_init(&node->data, BUFFER_SIZE);
if (e) {
VOP_RELEASE(vnode);
slab_free(nodecache, vnode);
return e;
}