From 048dfd51ed838cd428f07f706cb14cc54c990998 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Thu, 30 Jun 2005 10:11:17 +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 +++++++ common | 2 +- gst/gstvalue.c | 1 + 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 75a2609fdc..219e36aeb4 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-24 Stefan Kost * docs/gst/Makefile.am: diff --git a/common b/common index d6e46b214f..2826306411 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit d6e46b214fac0ecb46010ff522af2f7653e1c18e +Subproject commit 2826306411790bf8aa9298922aa59b126897431f diff --git a/gst/gstvalue.c b/gst/gstvalue.c index 61c05d28de..ffa49828a4 100644 --- a/gst/gstvalue.c +++ b/gst/gstvalue.c @@ -1610,6 +1610,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); }