mtd/fs/jffs2 readinode.c,1.105,1.106
David Woodhouse
dwmw2 at infradead.org
Wed May 14 02:53:29 EDT 2003
- Previous message: mtd/drivers/mtd/maps lubbock-flash.c,1.1,1.2
- Next message: mtd/drivers/mtd/maps map_funcs.c,NONE,1.1 Config.in,1.47,1.48
GNUmakefile,1.9,1.10 Kconfig,1.6,1.7 Makefile,1.40,1.41
amd76xrom.c,1.3,1.4 arctic-mtd.c,1.4,1.5 autcpu12-nvram.c,1.1,1.2
beech-mtd.c,1.3,1.4 cdb89712.c,1.3,1.4 ceiva.c,1.3,1.4
cfi_flagadm.c,1.7,1.8 cstm_mips_ixx.c,1.5,1.6 dbox2-flash.c,1.5,1.6
dc21285.c,1.10,1.11 dilnetpc.c,1.8,1.9 ebony.c,1.3,1.4
edb7312.c,1.3,1.4 elan-104nc.c,1.13,1.14 epxa10db-flash.c,1.5,1.6
fortunet.c,1.2,1.3 h720x-flash.c,1.1,1.2 ich2rom.c,1.3,1.4
impa7.c,1.3,1.4 integrator-flash.c,1.8,1.9 iq80310.c,1.10,1.11
l440gx.c,1.8,1.9 lasat.c,1.1,1.2 lubbock-flash.c,1.2,1.3
mbx860.c,1.1,1.2 netsc520.c,1.5,1.6 nettel.c,1.1,1.2
ocelot.c,1.7,1.8 octagon-5066.c,1.20,1.21 pb1xxx-flash.c,1.4,1.5
pci.c,1.2,1.3 pcmciamtd.c,1.40,1.41 physmap.c,1.22,1.23
pnc2000.c,1.10,1.11 redwood.c,1.2,1.3 rpxlite.c,1.15,1.16
sa1100-flash.c,1.30,1.31 sbc_gxx.c,1.21,1.22 sc520cdp.c,1.11,1.12
scb2_flash.c,1.2,1.3 scx200_docflash.c,1.1,1.2
solutionengine.c,1.5,1.6 sun_uflash.c,1.4,1.5 tqm8xxl.c,1.4,1.5
tsunami_flash.c,1.1,1.2 uclinux.c,1.2,1.3 vmax301.c,1.24,1.25
physmap64.c,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv4921
Modified Files:
readinode.c
Log Message:
Fix memory leak found by Stanford checker and/or Hollis Blanchard
Index: readinode.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/readinode.c,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- readinode.c 11 Mar 2003 18:45:14 -0000 1.105
+++ readinode.c 14 May 2003 06:53:26 -0000 1.106
@@ -169,8 +169,10 @@
if (lastend < newfrag->node->ofs) {
/* ... and we need to put a hole in before the new node */
struct jffs2_node_frag *holefrag = jffs2_alloc_node_frag();
- if (!holefrag)
+ if (!holefrag) {
+ jffs2_free_node_frag(newfrag);
return -ENOMEM;
+ }
holefrag->ofs = lastend;
holefrag->size = newfrag->node->ofs - lastend;
holefrag->node = NULL;
- Previous message: mtd/drivers/mtd/maps lubbock-flash.c,1.1,1.2
- Next message: mtd/drivers/mtd/maps map_funcs.c,NONE,1.1 Config.in,1.47,1.48
GNUmakefile,1.9,1.10 Kconfig,1.6,1.7 Makefile,1.40,1.41
amd76xrom.c,1.3,1.4 arctic-mtd.c,1.4,1.5 autcpu12-nvram.c,1.1,1.2
beech-mtd.c,1.3,1.4 cdb89712.c,1.3,1.4 ceiva.c,1.3,1.4
cfi_flagadm.c,1.7,1.8 cstm_mips_ixx.c,1.5,1.6 dbox2-flash.c,1.5,1.6
dc21285.c,1.10,1.11 dilnetpc.c,1.8,1.9 ebony.c,1.3,1.4
edb7312.c,1.3,1.4 elan-104nc.c,1.13,1.14 epxa10db-flash.c,1.5,1.6
fortunet.c,1.2,1.3 h720x-flash.c,1.1,1.2 ich2rom.c,1.3,1.4
impa7.c,1.3,1.4 integrator-flash.c,1.8,1.9 iq80310.c,1.10,1.11
l440gx.c,1.8,1.9 lasat.c,1.1,1.2 lubbock-flash.c,1.2,1.3
mbx860.c,1.1,1.2 netsc520.c,1.5,1.6 nettel.c,1.1,1.2
ocelot.c,1.7,1.8 octagon-5066.c,1.20,1.21 pb1xxx-flash.c,1.4,1.5
pci.c,1.2,1.3 pcmciamtd.c,1.40,1.41 physmap.c,1.22,1.23
pnc2000.c,1.10,1.11 redwood.c,1.2,1.3 rpxlite.c,1.15,1.16
sa1100-flash.c,1.30,1.31 sbc_gxx.c,1.21,1.22 sc520cdp.c,1.11,1.12
scb2_flash.c,1.2,1.3 scx200_docflash.c,1.1,1.2
solutionengine.c,1.5,1.6 sun_uflash.c,1.4,1.5 tqm8xxl.c,1.4,1.5
tsunami_flash.c,1.1,1.2 uclinux.c,1.2,1.3 vmax301.c,1.24,1.25
physmap64.c,1.1,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the linux-mtd-cvs
mailing list