mtd/fs/jffs2 super-v24.c,1.64,1.65

gleixner at infradead.org gleixner at infradead.org
Tue Mar 11 14:18:39 EST 2003


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv27958

Modified Files:
	super-v24.c 
Log Message:
Fixed the remaining leaks, are fixed in 2.5 code already, why not here ?

Index: super-v24.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/super-v24.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- super-v24.c	21 Jan 2003 18:11:29 -0000	1.64
+++ super-v24.c	11 Mar 2003 19:18:36 -0000	1.65
@@ -89,6 +89,9 @@
 	jffs2_free_ino_caches(c);
 	jffs2_free_raw_node_refs(c);
 	kfree(c->blocks);
+	if (c->wbuf)
+		kfree(c->wbuf);
+	kfree(c->inocache_list);
 	if (c->mtd->sync)
 		c->mtd->sync(c->mtd);
 	put_mtd_device(c->mtd);





More information about the linux-mtd-cvs mailing list