summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/profile.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/w32/profile.cxx b/sal/osl/w32/profile.cxx
index b9fd1dc6e646..26a11e4d8672 100644
--- a/sal/osl/w32/profile.cxx
+++ b/sal/osl/w32/profile.cxx
@@ -2106,6 +2106,7 @@ static bool lookupProfile(const sal_Unicode *strPath, const sal_Unicode *strFile
{
if ((nPos = rtl_ustr_lastIndexOfChar(strExecutable->buffer, L':')) == -1)
{
+ rtl_uString_release(strExecutable);
return false;
}
else