datetime: Fix memory leak in the unit test by unreffing GstDateTime instance after usage

This commit is contained in:
Sebastian Dröge 2010-08-19 11:11:28 +02:00
parent 649634a98f
commit 41c04c7471

View file

@ -101,6 +101,8 @@ GST_START_TEST (test_GstDateTime_get_dmy)
assert_equals_int (gst_date_time_get_year (dt), tt.tm_year + 1900);
assert_equals_int (gst_date_time_get_month (dt), tt.tm_mon + 1);
assert_equals_int (gst_date_time_get_day (dt), tt.tm_mday);
gst_date_time_unref (dt);
}
GST_END_TEST;