Revision ec10665cbf271fb1f60daeb194ad4f2cdcdc59d9 authored by Sachin Kamat on 24 September 2012, 06:35:03 UTC, committed by Marek Szyprowski on 24 September 2012, 06:35:03 UTC
When either of __alloc_from_contiguous or __alloc_remap_buffer fails
to provide a valid pointer, allocated memory is freed up and an error
is returned. 'pages' was however not freed before returning error.

Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
1 parent 979570e
History
File Mode Size
Makefile -rw-r--r-- 149 bytes
cache.c -rw-r--r-- 6.3 KB
fault.c -rw-r--r-- 6.2 KB
init.c -rw-r--r-- 5.5 KB
misc.S -rw-r--r-- 7.4 KB
mmu.c -rw-r--r-- 1.5 KB
tlb.c -rw-r--r-- 3.1 KB

back to top