summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-05-08 01:10:29 +0200
committerNoel Power <noel.power@suse.com>2013-05-08 08:47:57 +0000
commit9d85fe82bc26e19abdbfd516bad55f2453f3b5e8 (patch)
tree431ea6952b8debaed2f47750146f5f868cd3ef9f /extensions
parent02beb614750eadc2de8ffc4bcd67ae286f9f0856 (diff)
coverity#982973: Resource leak
Change-Id: I1ea51b29c3ad05016f42c215b71877cd8c3f92f4 Reviewed-on: https://gerrit.libreoffice.org/3821 Reviewed-by: Noel Power <noel.power@suse.com> Tested-by: Noel Power <noel.power@suse.com>
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/so_env.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/extensions/source/nsplugin/source/so_env.cxx b/extensions/source/nsplugin/source/so_env.cxx
index 0e8b5f1a226b..b275ad4c7c09 100644
--- a/extensions/source/nsplugin/source/so_env.cxx
+++ b/extensions/source/nsplugin/source/so_env.cxx
@@ -132,6 +132,7 @@ int nspluginOOoModuleHook (void** aResult)
fprintf (stderr, "Can't open myself '%s'\n", dlerror());
return 1;
}
+ dlclose(dl_handle);
Dl_info dl_info = { 0,0,0,0 };
if(!dladdr((void *)nspluginOOoModuleHook, &dl_info))