GNOME Bugzilla – Bug 653648
[ffmpegdec] allocates and leaks avpacket helper structs
Last modified: 2011-06-30 09:53:41 UTC
Created attachment 190935 [details] [review] ffmpeg: avoid allocating and leaking local avpacket helper Subject says all, note that one such struct is leaked for every input frame/buffer. Attached patch uses some _init to setup an instance on stack, rather than allocating (and then leaking) one with some _new. Not sure what (if any) the particular reason was for going down the _new route to start with.
commit 856dbe6f2150cea571640c841140d395e9e34890 Author: Mark Nauwelaerts <mark.nauwelaerts@collabora.co.uk> Date: Wed Jun 29 16:22:48 2011 +0200 ffmpegdec: avoid allocating and leaking local avpacket helpers ... by _init'ing them as locals rather than _new'ing them. Fixes #653648.