GNOME Bugzilla – Bug 613198
ximagesink memory leak
Last modified: 2010-03-17 22:47:04 UTC
Our product was leaking 5.5Mb/hour during video playback. In gst_ximagesink_buffer_alloc if the requested geometry does not match the required geometry, a GstCaps object is copied. If the new geometry is rejected, then the copy of the GstCaps object is not unrefed. The attached patch fixes this bug.
Created attachment 156403 [details] [review] Patch to fix the memory leak
Pushed, thanks for the fix. Module: gst-plugins-base Branch: master Commit: 621705f475bc93695e5a2105eb4aee5296bfe015 URL: http://cgit.freedesktop.org/gstreamer/gst-plugins-base/commit/?id=621705f475bc93695e5a2105eb4aee5296bfe015 Author: Reuben Dowle <reube.dowle@navico.com> Date: Wed Mar 17 19:24:27 2010 -0300 ximagesink: Fix caps leak Unref caps when peer doesn't accept caps Fixes #613198