The patch titled tpm: fix memory leak has been added to the -mm tree. Its filename is tpm-fix-memory-leak.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this From: Kylene Jo Hall <kjhall@xxxxxxxxxx> The eventname was kmalloc'd and not freed in the *_show functions. This bug was found by Coverity. Signed-off-by: Kylene Hall <kjhall@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/char/tpm/tpm_bios.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/char/tpm/tpm_bios.c~tpm-fix-memory-leak drivers/char/tpm/tpm_bios.c --- devel/drivers/char/tpm/tpm_bios.c~tpm-fix-memory-leak 2006-04-20 00:54:01.000000000 -0700 +++ devel-akpm/drivers/char/tpm/tpm_bios.c 2006-04-20 00:54:01.000000000 -0700 @@ -320,6 +320,7 @@ static int tpm_binary_bios_measurements_ /* 5th: delimiter */ seq_putc(m, '\0'); + kfree(eventname); return 0; } @@ -367,6 +368,7 @@ static int tpm_ascii_bios_measurements_s /* 4th: eventname <= max + \'0' delimiter */ seq_printf(m, " %s\n", eventname); + kfree(eventname); return 0; } _ Patches currently in -mm which might be from kjhall@xxxxxxxxxx are tpm-spacing-cleanups.patch tpm-reorganize-sysfs-files.patch tpm-chip-struct-update.patch tpm-return-chip-from-tpm_register_hardware.patch tpm-command-duration-update.patch tpm-new-12-sysfs-files.patch tpm-new-12-sysfs-files-fix.patch tpm-new-12-sysfs-files-fix-fix.patch tpm-tpm-new-12-sysfs-files-fix-fix-fix.patch tpm-driver-for-next-generation-tpm-chips.patch tpm-driver-for-next-generation-tpm-chips-fix.patch tpm-driver-for-next-generation-tpm-chips-fix-fix.patch tpm-msecs_to_jiffies-cleanups.patch tpm-use-clear_bit.patch tpm-use-clear_bit-fix.patch tpm-use-clear_bit-fix-fix.patch tpm-use-clear_bit-fix-fix-fix.patch tpm-use-clear_bit-fix-fix-fix-fix.patch tpm-use-clear_bit-fix-fix-fix-fix-fix.patch tpm-tpm_infineon-updated-to-latest-interface-changes.patch tpm-check-mem-start-and-len.patch tpm-update-bios-log-code-for-12.patch tpm_infineon-section-fixup.patch tpm-spacing-cleanups-2.patch tpm-add-interrupt-module-parameter.patch tpm-add-hid-module-paramater.patch tpm-fix-memory-leak.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