mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-01 12:02:27 +00:00
fix leak in the test itself
Original commit message from CVS: fix leak in the test itself
This commit is contained in:
parent
43c8433a07
commit
62d1f4c8ca
3 changed files with 13 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||||
|
|
||||||
|
* check/gst/gstvalue.c: (GST_START_TEST):
|
||||||
|
fix leaks in the test itself
|
||||||
|
|
||||||
2005-09-22 Wim Taymans <wim@fluendo.com>
|
2005-09-22 Wim Taymans <wim@fluendo.com>
|
||||||
|
|
||||||
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
|
* gst/base/gstbasesink.c: (gst_base_sink_class_init),
|
||||||
|
|
|
@ -938,7 +938,9 @@ GST_START_TEST (test_date)
|
||||||
fail_unless (g_date_compare (date, date2) == 0);
|
fail_unless (g_date_compare (date, date2) == 0);
|
||||||
|
|
||||||
g_date_free (date);
|
g_date_free (date);
|
||||||
|
g_date_free (date2);
|
||||||
date = NULL;
|
date = NULL;
|
||||||
|
date2 = NULL;
|
||||||
|
|
||||||
str = gst_structure_to_string (s);
|
str = gst_structure_to_string (s);
|
||||||
gst_structure_free (s);
|
gst_structure_free (s);
|
||||||
|
@ -961,6 +963,8 @@ GST_START_TEST (test_date)
|
||||||
fail_unless (g_date_get_day (date) == 22);
|
fail_unless (g_date_get_day (date) == 22);
|
||||||
fail_unless (g_date_get_month (date) == 9);
|
fail_unless (g_date_get_month (date) == 9);
|
||||||
fail_unless (g_date_get_year (date) == 2005);
|
fail_unless (g_date_get_year (date) == 2005);
|
||||||
|
g_date_free (date);
|
||||||
|
date = NULL;
|
||||||
|
|
||||||
str = gst_structure_to_string (s);
|
str = gst_structure_to_string (s);
|
||||||
gst_structure_free (s);
|
gst_structure_free (s);
|
||||||
|
|
|
@ -938,7 +938,9 @@ GST_START_TEST (test_date)
|
||||||
fail_unless (g_date_compare (date, date2) == 0);
|
fail_unless (g_date_compare (date, date2) == 0);
|
||||||
|
|
||||||
g_date_free (date);
|
g_date_free (date);
|
||||||
|
g_date_free (date2);
|
||||||
date = NULL;
|
date = NULL;
|
||||||
|
date2 = NULL;
|
||||||
|
|
||||||
str = gst_structure_to_string (s);
|
str = gst_structure_to_string (s);
|
||||||
gst_structure_free (s);
|
gst_structure_free (s);
|
||||||
|
@ -961,6 +963,8 @@ GST_START_TEST (test_date)
|
||||||
fail_unless (g_date_get_day (date) == 22);
|
fail_unless (g_date_get_day (date) == 22);
|
||||||
fail_unless (g_date_get_month (date) == 9);
|
fail_unless (g_date_get_month (date) == 9);
|
||||||
fail_unless (g_date_get_year (date) == 2005);
|
fail_unless (g_date_get_year (date) == 2005);
|
||||||
|
g_date_free (date);
|
||||||
|
date = NULL;
|
||||||
|
|
||||||
str = gst_structure_to_string (s);
|
str = gst_structure_to_string (s);
|
||||||
gst_structure_free (s);
|
gst_structure_free (s);
|
||||||
|
|
Loading…
Reference in a new issue