gst-plugins-bad: debugspy: fix string leak

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


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

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

debugspy: fix string leak

---

 gst/debugutils/gstdebugspy.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gst/debugutils/gstdebugspy.c b/gst/debugutils/gstdebugspy.c
index 72387ce..0823f6c 100644
--- a/gst/debugutils/gstdebugspy.c
+++ b/gst/debugutils/gstdebugspy.c
@@ -225,6 +225,8 @@ gst_debug_spy_transform_ip (GstBaseTransform * transform, GstBuffer * buf)
         "size", G_TYPE_UINT, GST_BUFFER_SIZE (buf),
         "caps", GST_TYPE_CAPS, GST_BUFFER_CAPS (buf), NULL);
 
+    g_free (checksum);
+
     message =
         gst_message_new_element (GST_OBJECT (transform), message_structure);
 



More information about the gstreamer-commits mailing list