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: NDarren Jenkins <darrenrjenkins@gmailcom> Acked-by: NBorislav Petkov <petkovbb@gmail.com> Cc: gadio@netvision.net.il Signed-off-by: NBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Showing
想要评论请 注册 或 登录