projects
/
platform
/
framework
/
web
/
wrt-service.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18f07e5
)
coverity error handling
77/173877/1
author
mallikarjun82
<vm.arjun@samsung.com>
Mon, 26 Mar 2018 14:05:03 +0000
(19:35 +0530)
committer
mallikarjun82
<vm.arjun@samsung.com>
Mon, 26 Mar 2018 14:06:23 +0000
(19:36 +0530)
This patch fixes resource leak by closing the dlhandle.
Coverity:110581
Change-Id: I7fc5bf98702553b8cec360ebe6f1b16606a3986d
Signed-off-by: mallikarjun82 <vm.arjun@samsung.com>
src/node/extension/extension.cpp
patch
|
blob
|
history
diff --git
a/src/node/extension/extension.cpp
b/src/node/extension/extension.cpp
index 3443c25fbef3fd91279ae861c572f22df9afae92..59c144a3ceee34dfb0486d9e6f3db2944e847838 100755
(executable)
--- a/
src/node/extension/extension.cpp
+++ b/
src/node/extension/extension.cpp
@@
-95,6
+95,7
@@
bool Extension::Initialize() {
}
initialized_ = true;
+ dlclose(handle);
return true;
}