coverity#440517 Dereference before null check

Change-Id: I9c09333d0879ba8dc9ef8c4cb2c1d9f0b3654d45
This commit is contained in:
Caolán McNamara
2014-01-28 09:24:48 +00:00
parent e357c93e7b
commit 6ebd4a9925

View File

@@ -263,8 +263,7 @@ static oslFileError osl_create_temp_file_impl_(
if (osl_File_E_None == osl_error)
rtl_uString_assign(ppustr_temp_file_name, tmp_file_path);
if (tmp_file_path)
rtl_uString_release(tmp_file_path);
rtl_uString_release(tmp_file_path);
return osl_error;
}