[0.10] gst-plugins-bad: debugspy: fix string leak

Tim Müller tpm at kemper.freedesktop.org
Wed Jan 18 05:29:45 PST 2012


Module: gst-plugins-bad
Branch: 0.10
Commit: 4f5b100a2231a5aaa7556e8204ca424f1d310ef8
URL:    http://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit/?id=4f5b100a2231a5aaa7556e8204ca424f1d310ef8

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