Skip to content

Commit

Permalink
isicom: isicom kref leak fix
Browse files Browse the repository at this point in the history
The isicom driver leaks a kref on the shutdown path. Drop the additional
kref we took

Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alan-Cox authored and torvalds committed Apr 6, 2009
1 parent 8d5a05d commit bbb8e6b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/char/isicom.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,6 +925,7 @@ static void isicom_shutdown_port(struct isi_port *port)
if (!card->count)
isicom_shutdown_board(card);
}
tty_kref_put(tty);
}

static void isicom_flush_buffer(struct tty_struct *tty)
Expand Down

0 comments on commit bbb8e6b

Please sign in to comment.