gst-plugins-good: cutter: fix leak of unused GValue

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 16 09:51:43 PST 2012


Module: gst-plugins-good
Branch: master
Commit: cf81df80580fbec9774d39c755b0caf58100ae02
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-good/commit/?id=cf81df80580fbec9774d39c755b0caf58100ae02

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Mon Jan 16 17:51:18 2012 +0000

cutter: fix leak of unused GValue

---

 gst/cutter/gstcutter.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/gst/cutter/gstcutter.c b/gst/cutter/gstcutter.c
index 72b90db..a8d95d5 100644
--- a/gst/cutter/gstcutter.c
+++ b/gst/cutter/gstcutter.c
@@ -191,9 +191,6 @@ static GstMessage *
 gst_cutter_message_new (GstCutter * c, gboolean above, GstClockTime timestamp)
 {
   GstStructure *s;
-  GValue v = { 0, };
-
-  g_value_init (&v, GST_TYPE_LIST);
 
   s = gst_structure_new ("cutter",
       "above", G_TYPE_BOOLEAN, above,



More information about the gstreamer-commits mailing list