pipefs: properly reconstruct when freeing

This commit is contained in:
Matheus
2025-12-10 00:53:38 -03:00
parent 982dd0fedd
commit 543aade5f0
+1
View File
@@ -447,6 +447,7 @@ int pipefs_newpipe(vnode_t **nodep) {
int e = ringbuffer_init(&node->data, BUFFER_SIZE);
if (e) {
ctor(nodecache, vnode);
slab_free(nodecache, vnode);
return e;
}