Orion
Barry Adding pipes e59e4fe (2 years, 4 months ago)diff --git a/vfs/file.c b/vfs/file.c index d3dfdc6..33fd0b7 100644 --- a/vfs/file.c +++ b/vfs/file.c @@ -30,6 +30,8 @@ file_put(File *file) ASSERT(file->usage); if (--file->usage) return; + if (file->ops && file->ops->release) + file->ops->release(file); if (file->inode) inode_put(file->inode); if (file->path)