diff options
author | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 09:26:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2014-01-28 11:29:18 +0000 |
commit | 4d3b7c575a27aff055d738e540a52290621b6a3f (patch) | |
tree | d12309b9d242d6f9e27cbc6d1013ad6545009fd3 /sal/osl | |
parent | 81f9e937054a084e3fe6e9242db69e2476593188 (diff) |
coverity#440521 Dereference before null check
Change-Id: I653b78d9404764d1c89d11154fd8e6a767df9cb0
Diffstat (limited to 'sal/osl')
-rw-r--r-- | sal/osl/unx/tempfile.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sal/osl/unx/tempfile.c b/sal/osl/unx/tempfile.c index 24f9304f5c2a..fcc29022fee1 100644 --- a/sal/osl/unx/tempfile.c +++ b/sal/osl/unx/tempfile.c @@ -323,8 +323,7 @@ oslFileError SAL_CALL osl_createTempFile( rtl_uString_release(temp_file_name); } - if (base_directory) - rtl_uString_release(base_directory); + rtl_uString_release(base_directory); return osl_error; } |