From f05cd57bf26cadf25f51d9a6a31fe40c8b3f5c28 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 30 Jun 2005 10:10:00 +0000 Subject: [PATCH] gst/gstvalue.c: Fix memleak (#309125). Original commit message from CVS: Reviewed by: Ronald S. Bultje * gst/gstvalue.c: (gst_value_intersect_list): Fix memleak (#309125). --- ChangeLog | 7 +++++++ gst/gstvalue.c | 1 + 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 53fda6241e..eca3221e98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-06-30 Antoine Tremblay + + Reviewed by: Ronald S. Bultje + + * gst/gstvalue.c: (gst_value_intersect_list): + Fix memleak (#309125). + 2005-06-30 Ronald S. Bultje * docs/manual/advanced-dataaccess.xml: diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 3451df134c..f6eaeff133 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1713,6 +1713,7 @@ gst_value_intersect_list (GValue * dest, const GValue * value1, gst_value_init_and_copy (&temp, dest); g_value_unset (dest); gst_value_list_concat (dest, &temp, &intersection); + g_value_unset (&temp); } g_value_unset (&intersection); }