diff --git a/sys/fs/ufs/ufs.c b/sys/fs/ufs/ufs.c index 4f5fea9..9ecb3ce 100644 --- a/sys/fs/ufs/ufs.c +++ b/sys/fs/ufs/ufs.c @@ -272,6 +272,7 @@ fd->offset = 0x0; fd->ino = ino; if (ino == 0x0) { + kfree(fd->dmadat); return (-1); }