patch-2.4.21 linux-2.4.21/fs/ufs/util.c

Next file: linux-2.4.21/fs/umsdos/dir.c
Previous file: linux-2.4.21/fs/super.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/fs/ufs/util.c linux-2.4.21/fs/ufs/util.c
@@ -47,6 +47,7 @@
 failed:
 	for (j = 0; j < i; j++)
 		brelse (ubh->bh[j]);
+	kfree(ubh);
 	return NULL;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)