GNOME Bugzilla – Bug 650072
[basevideoencoder] Fix use-after-free after state change transition
Last modified: 2011-05-14 10:14:28 UTC
When going from PAUSED to READY and back to PAUSED I get the following backtrace: (gdb) bt
+ Trace 227098
Attached patch.
Created attachment 187751 [details] [review] Fix use after free after state change transition And the missing attachment :)
NULL is a valid GList, it's enough to set frames to NULL after freeing it. I'll push this patch after the freeze, thanks :)
commit 85703b8886edebbd26d6e8c0b4799c6cf2b4e437 Author: Andoni Morales Alastruey <ylatuya@gmail.com> Date: Fri May 13 01:03:27 2011 +0200 basevideencoder: Fix use after free after state change transition