Commit 4b507505 authored by Darren Jenkins's avatar Darren Jenkins Committed by Bartlomiej Zolnierkiewicz
Browse files

drivers/ide/ide-tape.c: remove double kfree

Coverity CID: 2336 USE_AFTER_FREE

drivers/ide/ide-tape.c ide_tape_kfree_buffer() double free's a pointer
(hint freed by an alias in first outer loop).

This patch simply removes the superfluous kfree().
Signed-off-by: default avatarDarren Jenkins <darrenrjenkins@gmailcom>
Acked-by: default avatarBorislav Petkov <>
Signed-off-by: default avatarBartlomiej Zolnierkiewicz <>
parent 8a69580e
......@@ -585,7 +585,6 @@ static void ide_tape_kfree_buffer(idetape_tape_t *tape)
bh = bh->b_reqnext;
static int idetape_end_request(ide_drive_t *drive, int uptodate, int nr_sects)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment