sh: Plug PMB alloc memory leak
authorMatt Fleming <matt@console-pimps.org>
Tue, 6 Oct 2009 21:22:22 +0000 (21:22 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 9 Oct 2009 02:24:09 +0000 (11:24 +0900)
If we fail to allocate a PMB entry in pmb_remap() we must remember to
clear and free any PMB entries that we may have previously allocated,
e.g. if we were allocating a multiple entry mapping.

Signed-off-by: Matt Fleming <matt@console-pimps.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>

No differences found