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
-  Lines: 8
-  Date:
2003-06-13 07:51:37.000000000 -0700
-  Orig file: 
linux-2.4.20/fs/ufs/util.c
-  Orig date: 
2002-02-25 11:38:09.000000000 -0800
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)