summaryrefslogtreecommitdiff
path: root/unusedcode.easy
diff options
context:
space:
mode:
authorDr. David Alan Gilbert <dave@treblig.org>2022-11-05 18:44:05 +0000
committerChristian Lohmaier <lohmaier+LibreOffice@googlemail.com>2022-11-16 18:23:17 +0100
commitdf994d621261141ae024ead711f2ee957347476b (patch)
treebe610065757f6fbf3872076445b6049a405eda83 /unusedcode.easy
parent47f7a2bd06e8a1cbdc20196aeef54d74636c8b20 (diff)
TempFile: clear handle on close
If we close the file on error, then clear the handle we returned to the caller so it doesn't try and close it again or do anything else with it. Change-Id: Idd054f92f4f3cbc3427896ec9795e588471292d9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142344 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> (cherry picked from commit 0d9613b77fc653c6144b5e4f0136c0536300c0db) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142306 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> (cherry picked from commit 84d292960bee73f24450857ff141953be2570094) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/142434 Reviewed-by: Eike Rathke <erack@redhat.com> Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> Tested-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com> Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Diffstat (limited to 'unusedcode.easy')
0 files changed, 0 insertions, 0 deletions