projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c0ef6d
)
UIO: uio_pdrv: fix memory leak
author
Uwe Kleine-König
<Uwe.Kleine-Koenig@digi.com>
Fri, 11 Jul 2008 09:10:36 +0000
(11:10 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Thu, 21 Aug 2008 17:15:38 +0000
(10:15 -0700)
Thanks to Magnus Damm for pointing that out.
Signed-off-by: Uwe Kleine-König <Uwe.Kleine-Koenig@digi.com>
Cc: Magnus Damm <magnus.damm@gmail.com>
Acked-by: Hans J. Koch <hjk@linutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/uio/uio_pdrv.c
patch
|
blob
|
history
diff --git
a/drivers/uio/uio_pdrv.c
b/drivers/uio/uio_pdrv.c
index
5d0d2e8
..
aa3bff8
100644
(file)
--- a/
drivers/uio/uio_pdrv.c
+++ b/
drivers/uio/uio_pdrv.c
@@
-88,6
+88,8
@@
static int uio_pdrv_remove(struct platform_device *pdev)
uio_unregister_device(pdata->uioinfo);
+ kfree(pdata);
+
return 0;
}