Invalid clean up in ff2theora_close ( patch attached )

Bug #1386811 reported by Hansi Schmidt
6
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.

Revision history for this message
Hansi Schmidt (mari-2) wrote :
summary: - Invalid clean up in ff2theora_close
+ Invalid clean up in ff2theora_close ( patch attached )
Revision history for this message
j^ (j) wrote :
Changed in ffmpeg2theora:
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.