The patch titled fix mem-leak in sidewinder driver has been added to the -mm tree. Its filename is fix-mem-leak-in-sidewinder-driver.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Jesper Juhl <jesper.juhl@xxxxxxxxx> In sw_connect we leak 'buf' and 'idbuf' when we do not leave via one of the fail* labels. This was spotted by the coverity checker. This patch fixes the memory leak. Signed-off-by: Jesper Juhl <jesper.juhl@xxxxxxxxx> Cc: Dmitry Torokhov <dtor_core@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/input/joystick/sidewinder.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/input/joystick/sidewinder.c~fix-mem-leak-in-sidewinder-driver drivers/input/joystick/sidewinder.c --- devel/drivers/input/joystick/sidewinder.c~fix-mem-leak-in-sidewinder-driver 2006-05-10 21:55:46.000000000 -0700 +++ devel-akpm/drivers/input/joystick/sidewinder.c 2006-05-10 21:55:46.000000000 -0700 @@ -776,6 +776,8 @@ static int sw_connect(struct gameport *g goto fail4; } + kfree(buf); + kfree(idbuf); return 0; fail4: input_free_device(sw->dev[i]); _ Patches currently in -mm which might be from jesper.juhl@xxxxxxxxx are origin.patch fix-mem-leak-in-sidewinder-driver.patch git-mtd.patch git-scsi-rc-fixes.patch small-whitespace-cleanup-for-qlogic-driver.patch reduce-nr-of-ptr-derefs-in-fs-jffs2-summaryc.patch oss-cs46xx-cleanup-and-tiny-bugfix.patch i4l-memory-leak-fix-for-sc_ioctl.patch isdn-unsafe-interaction-between-isdn_write-and-isdn_writebuf_stub.patch binfmt_elf-codingstyle-cleanup-and-remove-some-pointless-casts.patch binfnt_elf-remove-more-casts.patch debug-shared-irqs.patch remove-redundant-null-checks-before-free-in-fs.patch remove-redundant-null-checks-before-free-in-kernel.patch remove-redundant-null-checks-before-free-in-drivers.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html