drivers/ide/ide-tape.c: remove double kfree
authorDarren Jenkins <darrenrjenkins@gmail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (19:55 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 23 Jul 2008 17:55:59 +0000 (19:55 +0200)
commit4b5075050072ed7c4730ee547ae80117c4fa8513
treef980e483566fa43f6e93a2fbbbcfbe6553f4e05d
parent8a69580e1ea9516caada5eed202afd39546e9809
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: Darren Jenkins <darrenrjenkins@gmailcom>
Acked-by: Borislav Petkov <petkovbb@gmail.com>
Cc: gadio@netvision.net.il
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-tape.c