GNOME Bugzilla – Bug 768146
d3dvideosink: leak on caps string
Last modified: 2016-07-04 10:51:41 UTC
Created attachment 330490 [details] [review] d3dvideosink-leak-on-caps-string.patch Plugged simple leak on caps string.
Review of attachment 330490 [details] [review]: Good find, can you update your patch? :) ::: sys/d3dvideosink/d3dvideosink.c @@ -285,3 @@ GST_DEBUG_OBJECT (bsink, " "); GST_DEBUG_OBJECT (bsink, "Caps: %s", (tmp = gst_caps_to_string (caps))); This should just use GST_PTR_FORMAT, e.g. GST_DEBUG_OBJECT (bsink, "Caps: %" GST_PTR_FORMAT, caps)
Do you mean to remove line 285?
Created attachment 330497 [details] [review] revised patch
commit dea792292e17ddf655dc41366a712d748a7ae4b6 Author: Sebastian Dröge <sebastian@centricular.com> Date: Tue Jun 28 19:26:29 2016 +0300 d3dvideosink: Replace some more gst_caps_to_string() with GST_PTR_FORMAT https://bugzilla.gnome.org/show_bug.cgi?id=768146 commit 93191c92f1894b1bead6e8815dc928cf8282786c Author: Jonathan Roy <jroy@adetelgroup.com> Date: Tue Jun 28 11:50:59 2016 -0400 d3dvideosink: leak on caps string https://bugzilla.gnome.org/show_bug.cgi?id=768146