Commit 3b801075 authored by Baptiste Coudurier's avatar Baptiste Coudurier

free options contexts in av_exit, valgrind should be happy now

Originally committed as revision 18484 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 1bd280f7
......@@ -434,6 +434,11 @@ static int av_exit(int ret)
exit (255);
}
for (i=0;i<CODEC_TYPE_NB;i++)
av_free(avcodec_opts[i]);
av_free(avformat_opts);
av_free(sws_opts);
exit(ret); /* not all OS-es handle main() return value */
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment