xvimagesink: free owned discarded pool configuration
authorMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 14 Mar 2012 16:14:43 +0000 (17:14 +0100)
committerMark Nauwelaerts <mark.nauwelaerts@collabora.co.uk>
Wed, 14 Mar 2012 16:14:43 +0000 (17:14 +0100)
sys/xvimage/xvimagesink.c

index d63492b..93d62d6 100644 (file)
@@ -1960,6 +1960,7 @@ gst_xvimagesink_propose_allocation (GstBaseSink * bsink, GstQuery * query)
       GST_DEBUG_OBJECT (xvimagesink, "pool has different caps");
       /* different caps, we can't use this pool */
       gst_object_unref (pool);
+      gst_structure_free (config);
       pool = NULL;
     }
   }