[0.11] gst-plugins-good: udpsrc: fix use of freed memory

Vincent Penquerc'h vincent at kemper.freedesktop.org
Tue Jan 24 06:55:39 PST 2012


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

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Tue Jan 24 14:52:09 2012 +0000

udpsrc: fix use of freed memory

---

 gst/udp/gstudpsrc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/gst/udp/gstudpsrc.c b/gst/udp/gstudpsrc.c
index 886aaa9..2870591 100644
--- a/gst/udp/gstudpsrc.c
+++ b/gst/udp/gstudpsrc.c
@@ -662,7 +662,7 @@ gst_udpsrc_get_property (GObject * object, guint prop_id, GValue * value,
       g_value_set_string (value, udpsrc->multi_iface);
       break;
     case PROP_URI:
-      g_value_take_string (value, udpsrc->uri);
+      g_value_set_string (value, udpsrc->uri);
       break;
     case PROP_CAPS:
       gst_value_set_caps (value, udpsrc->caps);



More information about the gstreamer-commits mailing list