Skip to content
Snippets Groups Projects
Commit 21c5aca6 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

free ftyp atom

Originally committed as revision 5187 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d59518d4
No related branches found
No related tags found
No related merge requests found
...@@ -288,6 +288,8 @@ int main(int argc, char *argv[]) ...@@ -288,6 +288,8 @@ 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);
return 0; return 0;
...@@ -295,5 +297,7 @@ error_out: ...@@ -295,5 +297,7 @@ error_out:
fclose(infile); fclose(infile);
fclose(outfile); fclose(outfile);
free(moov_atom); free(moov_atom);
if (ftyp_atom_size > 0)
free(ftyp_atom);
return 1; return 1;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment