mtd/drivers/mtd/chips cfi_cmdset_0001.c,1.143,1.144
Nicolas Pitre
nico at infradead.org
Wed Jun 9 15:34:07 EDT 2004
Update of /home/cvs/mtd/drivers/mtd/chips
In directory phoenix.infradead.org:/tmp/cvs-serv28270
Modified Files:
cfi_cmdset_0001.c
Log Message:
If we fail in cfi_intelext_setup() then cfi->cfiq will be freed in
mtd_do_chip_probe().
Index: cfi_cmdset_0001.c
===================================================================
RCS file: /home/cvs/mtd/drivers/mtd/chips/cfi_cmdset_0001.c,v
retrieving revision 1.143
retrieving revision 1.144
diff -u -r1.143 -r1.144
--- cfi_cmdset_0001.c 9 Jun 2004 18:35:51 -0000 1.143
+++ cfi_cmdset_0001.c 9 Jun 2004 19:34:04 -0000 1.144
@@ -321,7 +321,6 @@
kfree(mtd);
}
kfree(cfi->cmdset_priv);
- kfree(cfi->cfiq);
return NULL;
}
More information about the linux-mtd-cvs
mailing list