projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7484552
)
mfd: Fix a memory leak when unload mc13xxx-core module
author
Axel Lin
<axel.lin@gmail.com>
Fri, 22 Oct 2010 10:29:21 +0000
(12:29 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 28 Oct 2010 22:30:43 +0000
(
00:30
+0200)
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/mc13xxx-core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/mc13xxx-core.c
b/drivers/mfd/mc13xxx-core.c
index 1326e7f4263a7fe5d7fd25680ba214f6f45ccfeb..a2ac2ed6d64c64467e12ad6822f543cfe609a853 100644
(file)
--- a/
drivers/mfd/mc13xxx-core.c
+++ b/
drivers/mfd/mc13xxx-core.c
@@
-795,6
+795,8
@@
static int __devexit mc13xxx_remove(struct spi_device *spi)
mfd_remove_devices(&spi->dev);
+ kfree(mc13xxx);
+
return 0;
}