diff options
Diffstat (limited to 'src/kernel/vfs/request.c')
-rw-r--r-- | src/kernel/vfs/request.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kernel/vfs/request.c b/src/kernel/vfs/request.c index 3e7c9f0..0c3084d 100644 --- a/src/kernel/vfs/request.c +++ b/src/kernel/vfs/request.c @@ -134,5 +134,5 @@ void vfs_backend_refdown(struct vfs_backend *b) { if (--(b->refcount) > 0) return; assert(!b->queue); - kfree(b); + if (b->heap) kfree(b); } |