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:
0849c9d
)
nsp: fix memory leak
45/189545/1
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Tue, 18 Sep 2018 11:06:10 +0000
(14:06 +0300)
committer
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Tue, 18 Sep 2018 11:15:25 +0000
(14:15 +0300)
Add cleaning nsp_data structures before unloading module.
Change-Id: I06fecf489db5958567c1620aacb4a788d1d74f04
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
modules/nsp/nsp.c
patch
|
blob
|
history
diff --git
a/modules/nsp/nsp.c
b/modules/nsp/nsp.c
index 39d8d29399d720d95d6e60b85fabd585d238f375..a5be6a0a30b9de887fcadaf588e0fb73ac0555bf 100644
(file)
--- a/
modules/nsp/nsp.c
+++ b/
modules/nsp/nsp.c
@@
-813,6
+813,7
@@
void nsp_exit(void)
if (stat == NS_ON)
set_stat_off();
+ __nsp_rm_all();
uninit_variables();
swap_ktd_unreg(&ktd);
}