[Libreoffice-commits] core.git: include/LibreOfficeKit
Tor Lillqvist
tml at collabora.com
Thu Apr 16 02:34:43 PDT 2015
include/LibreOfficeKit/LibreOfficeKitInit.h | 4 ++++
1 file changed, 4 insertions(+)
New commits:
commit 1d2ade4987bbf813f3fd37298725a7ebb1a91e49
Author: Tor Lillqvist <tml at collabora.com>
Date: Thu Apr 16 12:15:37 2015 +0300
CID#1294411: dlhandle is "leaked"
Change-Id: Ie8dafb4d5dfd2ab09d71bc509f91e5c2c483bfb8
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h
index 4b06e8d..8730ef0 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 );
}
More information about the Libreoffice-commits
mailing list