gst-plugins-bad: rsndvdsrc: fix leak

Vincent Penquerc'h vincent at kemper.freedesktop.org
Mon Jan 23 03:26:19 PST 2012


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

Author: Vincent Penquerc'h <vincent.penquerch at collabora.co.uk>
Date:   Fri Jan 20 12:25:09 2012 +0000

rsndvdsrc: fix leak

---

 ext/resindvd/resindvdsrc.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/ext/resindvd/resindvdsrc.c b/ext/resindvd/resindvdsrc.c
index 499b44f..75cefe8 100644
--- a/ext/resindvd/resindvdsrc.c
+++ b/ext/resindvd/resindvdsrc.c
@@ -268,6 +268,7 @@ rsn_dvdsrc_finalize (GObject * object)
   g_mutex_free (src->dvd_lock);
   g_mutex_free (src->branch_lock);
   g_cond_free (src->still_cond);
+  g_free (src->device);
 
   gst_buffer_replace (&src->alloc_buf, NULL);
   gst_buffer_replace (&src->next_buf, NULL);



More information about the gstreamer-commits mailing list