Invalid clean up in ff2theora_close ( patch attached )
Bug #1386811 reported by
Hansi Schmidt
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ffmpeg2theora |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
You get a heap corruption at least on windows system ( Visual Studio 2013 ) if you close up the exe. Finally "ff2theora_close" is called and gets problems, because of
av_free(this);
This appears because of the memory you want to clean up is allocated via "calloc"... this means you have to clean up with "free".
A patch is attached.
To post a comment you must log in.
thanks, fixed in git (https:/ /git.xiph. org/?p= ffmpeg2theora. git;a=commit; h=301ab443e47bc 24c5a978c0885c2 31bb5d249175)