free ftyp atom

Originally committed as revision 5187 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Baptiste Coudurier 2006-03-21 00:18:30 +00:00
parent d59518d45d
commit 21c5aca65a
1 changed files with 4 additions and 0 deletions

View File

@ -288,6 +288,8 @@ int main(int argc, char *argv[])
fclose(infile);
fclose(outfile);
free(moov_atom);
if (ftyp_atom_size > 0)
free(ftyp_atom);
return 0;
@ -295,5 +297,7 @@ error_out:
fclose(infile);
fclose(outfile);
free(moov_atom);
if (ftyp_atom_size > 0)
free(ftyp_atom);
return 1;
}