Re: [PATCH] drivers/ide/ide-tape.c: remove double kfree

Bartlomiej Zolnierkiewicz
2008-06-30T21:07:15Z

On Sunday 29 June 2008, Borislav Petkov wrote:
> Hi Bart,
>
> in case you haven't picked that one up already...
>
> On Sun, Jun 29, 2008 at 08:34:34AM +1000, Darren Jenkins" wrote:
> > G'day people,
> >
> >
> > 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>

applied