From 843d120c2feacf90ea7435d733cbed63d29620c2 Mon Sep 17 00:00:00 2001 From: Vineeth TM Date: Mon, 18 Jan 2016 10:13:02 +0900 Subject: [PATCH] gst: ref/unref new enum types in gst_init/deinit https://bugzilla.gnome.org/show_bug.cgi?id=760767 --- gst/gst.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gst/gst.c b/gst/gst.c index f42a8795b5..83b82d1a06 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -618,6 +618,8 @@ init_post (GOptionContext * context, GOptionGroup * group, gpointer data, g_type_class_ref (gst_state_change_return_get_type ()); g_type_class_ref (gst_state_change_get_type ()); g_type_class_ref (gst_element_flags_get_type ()); + g_type_class_ref (gst_tracer_value_scope_get_type ()); + g_type_class_ref (gst_tracer_value_flags_get_type ()); g_type_class_ref (gst_core_error_get_type ()); g_type_class_ref (gst_library_error_get_type ()); g_type_class_ref (gst_resource_error_get_type ()); @@ -1018,6 +1020,8 @@ gst_deinit (void) g_type_class_unref (g_type_class_peek (gst_state_change_return_get_type ())); g_type_class_unref (g_type_class_peek (gst_state_change_get_type ())); g_type_class_unref (g_type_class_peek (gst_element_flags_get_type ())); + g_type_class_unref (g_type_class_peek (gst_tracer_value_scope_get_type ())); + g_type_class_unref (g_type_class_peek (gst_tracer_value_flags_get_type ())); g_type_class_unref (g_type_class_peek (gst_core_error_get_type ())); g_type_class_unref (g_type_class_peek (gst_library_error_get_type ())); g_type_class_unref (g_type_class_peek (gst_plugin_dependency_flags_get_type