The patch titled i4l: leak in eicon/idifunc.c has been added to the -mm tree. Its filename is i4l-leak-in-eicon-idifuncc.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: i4l: leak in eicon/idifunc.c From: Armin Schindler <armin@xxxxxxxxxx> coverity spotted a possible leak in the idifunc.c file (bug id #1252), in um_new_card(), if the diva_user_mode_idi_create_adapter() fails, we dont free the memory allocated for card Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx> Acked-by: Armin Schindler <armin@xxxxxxxxxx> Cc: Karsten Keil <kkeil@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/isdn/hardware/eicon/idifunc.c | 1 + 1 files changed, 1 insertion(+) diff -puN drivers/isdn/hardware/eicon/idifunc.c~i4l-leak-in-eicon-idifuncc drivers/isdn/hardware/eicon/idifunc.c --- a/drivers/isdn/hardware/eicon/idifunc.c~i4l-leak-in-eicon-idifuncc +++ a/drivers/isdn/hardware/eicon/idifunc.c @@ -106,6 +106,7 @@ static void um_new_card(DESCRIPTOR * d) } else { DBG_ERR(("could not create user mode idi card %d", adapter_nr)); + diva_os_free(0, card); } } _ Patches currently in -mm which might be from armin@xxxxxxxxxx are isdn-diva-fix-section-mismatch.patch i4l-leak-in-eicon-idifuncc.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