check/generic/states.c: Cleanup can be done at the end.
Original commit message from CVS:
* check/generic/states.c: (GST_START_TEST):
Cleanup can be done at the end.
* gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
(gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
(gst_task_get_state), (gst_task_start), (gst_task_pause):
Oh boy.. Thanks for finding this, Thomas.
diff --git a/gst/gsttask.c b/gst/gsttask.c
index 23de33f..7fb0739 100644
--- a/gst/gsttask.c
+++ b/gst/gsttask.c
@@ -99,7 +99,7 @@
g_cond_free (task->cond);
task->cond = NULL;
- G_OBJECT_CLASS (parent_class)->dispose (object);
+ G_OBJECT_CLASS (parent_class)->finalize (object);
}
static void