Re: [PATCH/RFC] minix filesystem update to V3 diffed to 2.6.17-rc3

From: Andrew Morton
Date: Mon May 01 2006 - 13:05:17 EST


Daniel Aragonés <danarag@xxxxxxxxx> wrote:
>
> + char *offset = kmalloc(sizeof(char *), GFP_NOFS);
> + bh = sbi->s_imap[ino >> k];
> + offset = (char *)bh->b_data;

It is still the case that the memory which was allocated here gets leaked.
There are several instances of this.

-
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/