summaryrefslogtreecommitdiff
path: root/ucbhelper
diff options
context:
space:
mode:
Diffstat (limited to 'ucbhelper')
-rw-r--r--ucbhelper/source/provider/fd_inputstream.cxx5
1 files changed, 4 insertions, 1 deletions
diff --git a/ucbhelper/source/provider/fd_inputstream.cxx b/ucbhelper/source/provider/fd_inputstream.cxx
index 948cc913ba84..e9210a7a5c8a 100644
--- a/ucbhelper/source/provider/fd_inputstream.cxx
+++ b/ucbhelper/source/provider/fd_inputstream.cxx
@@ -124,7 +124,10 @@ namespace ucbhelper
{
osl::MutexGuard aGuard(m_aMutex);
if(m_tmpfl)
- osl_closeFile(m_tmpfl),m_tmpfl = nullptr;
+ {
+ osl_closeFile(m_tmpfl);
+ m_tmpfl = nullptr;
+ }
}