Re: [PATCH] Fix leaks in ISOFS.

From: Dave Jones
Date: Wed Sep 01 2004 - 15:46:56 EST


On Wed, Sep 01, 2004 at 06:00:50PM +0100, Christoph Hellwig wrote:
> > MAYBE_CONTINUE(repeat,inode);
> > + if (buffer) kfree(buffer);
>
> kfree(NULL) is just fine

True. I got carried away mirroring the style of all the other
kfree operations in that code.

Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/