gst-plugins-base: theoraparse: fix array leak

Vincent Penquerc'h vincent at kemper.freedesktop.org
Thu Jan 12 08:24:24 PST 2012


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

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Thu Jan 12 16:24:01 2012 +0000

theoraparse: fix array leak

---

 ext/theora/gsttheoraparse.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ext/theora/gsttheoraparse.c b/ext/theora/gsttheoraparse.c
index da0d49c..4e356c6 100644
--- a/ext/theora/gsttheoraparse.c
+++ b/ext/theora/gsttheoraparse.c
@@ -241,7 +241,7 @@ theora_parse_get_property (GObject * object, guint prop_id,
         g_value_unset (&v);
       }
 
-      g_value_set_boxed (value, array);
+      g_value_take_boxed (value, array);
     }
       break;
     default:



More information about the gstreamer-commits mailing list