summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Lillqvist <tml@collabora.com>2015-04-16 12:15:37 +0300
committerTor Lillqvist <tml@collabora.com>2015-04-16 12:31:34 +0300
commit1d2ade4987bbf813f3fd37298725a7ebb1a91e49 (patch)
tree61fa0438c2075f03a80fd34d3cdb5a8becef453c
parent67ba186a94119207ef2d10f508c3d43e8bdcfce1 (diff)
CID#1294411: dlhandle is "leaked"
Change-Id: Ie8dafb4d5dfd2ab09d71bc509f91e5c2c483bfb8
-rw-r--r--include/LibreOfficeKit/LibreOfficeKitInit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 4b06e8ddf7da..8730ef07ed8a 100644
--- a/include/LibreOfficeKit/LibreOfficeKitInit.h
+++ b/include/LibreOfficeKit/LibreOfficeKitInit.h
@@ -196,10 +196,14 @@ static LibreOfficeKit *lok_init_2( const char *install_path, const char *user_p
return NULL;
}
free( imp_lib );
+ // dlhandle is "leaked"
+ // coverity[leaked_storage]
return pSym( install_path );
}
free( imp_lib );
+ // dlhandle is "leaked"
+ // coverity[leaked_storage]
return pSym2( install_path, user_profile_path );
}