Re: [PATCH] rmap: fix anon_vma_fork() memory leak

From: Rik van Riel
Date: Mon Apr 05 2010 - 12:06:20 EST


On 04/05/2010 11:37 AM, Linus Torvalds wrote:

This looks _very_ wrong to me.

Shouldn't the unlink_anon_vmas() be in the "out_error" case?

Indeed it should. I've had my mind somewhere else this weekend :/

New patch in the next mail.
--
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/