summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-07-26 12:10:40 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-07-27 09:28:29 +0200
commit2d6d7171cdf3c50c71e4af271e4ce689ce7482ef (patch)
tree90280592068714610a1b08ee091c00dd78068720 /sal/osl
parent7a937660201d48d5e94971aebd81ece98f529f57 (diff)
Related: rhbz#1602589 silence leaked_storage
Change-Id: Ib489ebf55d3a18d2af6f34b3f6128231d6d7758c Reviewed-on: https://gerrit.libreoffice.org/58090 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/unx/profile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/unx/profile.cxx b/sal/osl/unx/profile.cxx
index e1992da2416e..d103c4573d0a 100644
--- a/sal/osl/unx/profile.cxx
+++ b/sal/osl/unx/profile.cxx
@@ -181,6 +181,7 @@ static oslProfile osl_psz_openProfile(const sal_Char *pszProfileName, oslProfile
if (pProfile->m_pFile == nullptr)
closeFileImpl(pFile,pProfile->m_Flags);
+ // coverity[leaked_storage] - pFile is not leaked
return pProfile;
}