GNOME Bugzilla – Bug 734537
pvrvideosink: Avoid leaking bufferpool configuration
Last modified: 2014-08-11 06:56:27 UTC
gst_buffer_pool_get_config() returns a reference to the bufferpool's configuration, which must be passed to gst_structure_free() after use. The attached patch fixes this omission.
Created attachment 282992 [details] [review] Proposed patch.
commit 078958bd6bb6f5de1a8e57d434d691f5e7827134 Author: Sebastian Rasmussen <sebras@hotmail.com> Date: Sat Aug 9 13:24:00 2014 +0200 pvrvideosink: Avoid leaking bufferpool configuration gst_buffer_pool_get_config() returns a copy to the bufferpool's configuration, which must be passed to gst_structure_free() after use if not given away to gst_buffer_pool_set_config(). Fixes https://bugzilla.gnome.org/show_bug.cgi?id=734537