projects
/
platform
/
kernel
/
swap-modules.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1fabea
)
[FIX] memory leak in wsp
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Fri, 24 Jul 2015 14:03:25 +0000
(17:03 +0300)
committer
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Mon, 27 Jul 2015 13:37:31 +0000
(06:37 -0700)
Change-Id: Ia5d3a3e4b1831b4aa12d9a665f2adcf70a489d48
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
wsp/wsp_res.c
patch
|
blob
|
history
diff --git
a/wsp/wsp_res.c
b/wsp/wsp_res.c
index
74ad258
..
88eae97
100644
(file)
--- a/
wsp/wsp_res.c
+++ b/
wsp/wsp_res.c
@@
-104,6
+104,8
@@
static void wsp_tdata_destroy(struct wsp_tdata *d)
list_for_each_entry_safe(res, n, &d->res_list, list)
wsp_tdata_del_res(res);
spin_unlock(&d->lock);
+
+ kfree(d);
}
static struct wsp_res *wsp_tdata_last_res(struct wsp_tdata *d)