gst/gstvalue.c: Fix memleak (#309125).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* gst/gstvalue.c: (gst_value_intersect_list):
Fix memleak (#309125).
This commit is contained in:
Ronald S. Bultje 2005-06-30 10:11:17 +00:00
parent e2eeb4fdec
commit 048dfd51ed
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2005-06-30 Antoine Tremblay <hexa00@gmail.com>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* gst/gstvalue.c: (gst_value_intersect_list):
Fix memleak (#309125).
2005-06-24 Stefan Kost <ensonic@users.sf.net>
* docs/gst/Makefile.am:

2
common

@ -1 +1 @@
Subproject commit d6e46b214fac0ecb46010ff522af2f7653e1c18e
Subproject commit 2826306411790bf8aa9298922aa59b126897431f

View file

@ -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);
}