projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
713f25c
)
arm: mach-omap2: mux: free allocated memory on error exit
author
Aaro Koskinen
<Aaro.Koskinen@nokia.com>
Fri, 28 Jan 2011 14:50:55 +0000
(14:50 +0000)
committer
Tony Lindgren
<tony@atomide.com>
Tue, 1 Feb 2011 23:51:36 +0000
(15:51 -0800)
Free allocated memory on error exit.
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/mux.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/mach-omap2/mux.c
b/arch/arm/mach-omap2/mux.c
index fae49d12bc76c26224f9e016997ee7bc8b45b1d1..98148b6c36e9a33fedec64f1e9afc1a9796c4ce4 100644
(file)
--- a/
arch/arm/mach-omap2/mux.c
+++ b/
arch/arm/mach-omap2/mux.c
@@
-1000,6
+1000,7
@@
int __init omap_mux_init(const char *name, u32 flags,
if (!partition->base) {
pr_err("%s: Could not ioremap mux partition at 0x%08x\n",
__func__, partition->phys);
+ kfree(partition);
return -ENODEV;
}