Removed unnecessary test for NULL. Coverity CID 12584.

This commit is contained in:
Thomas Schmitt 2015-10-10 16:02:07 +02:00
parent 7ef616f268
commit 4e7432c20f
1 changed files with 1 additions and 2 deletions

View File

@ -3426,8 +3426,7 @@ int iso_write_opts_clone(IsoWriteOpts *in, IsoWriteOpts **out, int flag)
return ISO_SUCCESS;
out_of_mem:;
if (o != NULL)
iso_write_opts_free(o);
iso_write_opts_free(o);
return ISO_OUT_OF_MEM;
}