projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fcfc762
)
greybus: endo: fix ida memory leak
author
Johan Hovold
<johan@hovoldconsulting.com>
Tue, 3 Nov 2015 11:11:25 +0000
(12:11 +0100)
committer
Greg Kroah-Hartman
<gregkh@google.com>
Thu, 5 Nov 2015 04:20:23 +0000
(20:20 -0800)
Fix yet another ida memory leak due to failure to call the destructor.
Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/endo.c
patch
|
blob
|
history
diff --git
a/drivers/staging/greybus/endo.c
b/drivers/staging/greybus/endo.c
index 726b1d309219ee10043514aca1168a325271ed23..7f24c79230a5fa7d2a61fd6c4611e3047fd64783 100644
(file)
--- a/
drivers/staging/greybus/endo.c
+++ b/
drivers/staging/greybus/endo.c
@@
-547,4
+547,5
@@
int __init gb_endo_init(void)
void gb_endo_exit(void)
{
+ ida_destroy(&greybus_endo_id_map);
}