mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-11 18:09:36 +00:00
Remove unnecessary checks before calling free
Feel free to revert if you can specify a concrete case where this actually is necessary. Originally committed as revision 23006 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
593a861470
commit
d50fc2d07b
@ -310,7 +310,6 @@ int main(int argc, char *argv[])
|
|||||||
fclose(infile);
|
fclose(infile);
|
||||||
fclose(outfile);
|
fclose(outfile);
|
||||||
free(moov_atom);
|
free(moov_atom);
|
||||||
if (ftyp_atom_size > 0)
|
|
||||||
free(ftyp_atom);
|
free(ftyp_atom);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -319,7 +318,6 @@ error_out:
|
|||||||
fclose(infile);
|
fclose(infile);
|
||||||
fclose(outfile);
|
fclose(outfile);
|
||||||
free(moov_atom);
|
free(moov_atom);
|
||||||
if (ftyp_atom_size > 0)
|
|
||||||
free(ftyp_atom);
|
free(ftyp_atom);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user