diff options
author | Julien Nabet <serval2412@yahoo.fr> | 2013-05-08 01:10:29 +0200 |
---|---|---|
committer | Noel Power <noel.power@suse.com> | 2013-05-08 08:47:57 +0000 |
commit | 9d85fe82bc26e19abdbfd516bad55f2453f3b5e8 (patch) | |
tree | 431ea6952b8debaed2f47750146f5f868cd3ef9f /extensions/source | |
parent | 02beb614750eadc2de8ffc4bcd67ae286f9f0856 (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/source')
-rw-r--r-- | extensions/source/nsplugin/source/so_env.cxx | 1 |
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)) |