summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sal/osl/unx/tempfile.cxx6
1 files changed, 0 insertions, 6 deletions
diff --git a/sal/osl/unx/tempfile.cxx b/sal/osl/unx/tempfile.cxx
index 3a7138b5218d..29a4d453f80c 100644
--- a/sal/osl/unx/tempfile.cxx
+++ b/sal/osl/unx/tempfile.cxx
@@ -330,13 +330,7 @@ oslFileError SAL_CALL osl_createTempFile(
}
if (temp_file_handle)
- {
osl_closeFile(temp_file_handle);
- if (pHandle)
- {
- *pHandle = nullptr;
- }
- }
rtl_uString_release(base_directory);