Commit:     2bf68a3699601bd3e53b4efce7f2d780e243aa35
Parent:     5e6c20a93b700ba884a6bced498b2691e2dd821b
Author:     Armin Schindler <[EMAIL PROTECTED]>
AuthorDate: Tue Jul 17 04:04:23 2007 -0700
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Tue Jul 17 10:23:06 2007 -0700

    i4l: leak in eicon/idifunc.c
    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 <[EMAIL PROTECTED]>
    Acked-by: Armin Schindler <[EMAIL PROTECTED]>
    Cc: Karsten Keil <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
 drivers/isdn/hardware/eicon/idifunc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/isdn/hardware/eicon/idifunc.c 
index 4cbc68c..db87d51 100644
--- a/drivers/isdn/hardware/eicon/idifunc.c
+++ b/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",
+               diva_os_free(0, card);
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to