echo " g_type_class_ref ($$f ());"; \
done; \
exit 1; \
+ fi; \
+ echo 'Checking if all enum and flag _get_type() funcs are deinited in gst_deinit()'; \
+ MISSING_FUNCS=''; \
+ for f in $$FUNCS; do \
+ INIT_LINE=`grep $$f $(top_srcdir)/gst/*.c | grep g_type_class_unref`; \
+ if test "x$$INIT_LINE" = "x"; then \
+ MISSING_FUNCS="$$MISSING_FUNCS $$f"; \
+ fi; \
+ done; \
+ if test "x$$MISSING_FUNCS" != "x"; then \
+ echo "FIXME: please add to the following to gst/gst.c gst_deinit():"; \
+ for f in $$MISSING_FUNCS; do \
+ echo " g_type_class_unref (g_type_class_peek ($$f ()));"; \
+ done; \
+ exit 1; \
fi
include $(top_srcdir)/common/coverage/lcov.mak
g_type_class_unref (g_type_class_peek (gst_bin_flags_get_type ()));
g_type_class_unref (g_type_class_peek (gst_buffer_flag_get_type ()));
g_type_class_unref (g_type_class_peek (gst_buffer_copy_flags_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_buffer_list_item_get_type ()));
g_type_class_unref (g_type_class_peek (gst_bus_flags_get_type ()));
g_type_class_unref (g_type_class_peek (gst_bus_sync_reply_get_type ()));
g_type_class_unref (g_type_class_peek (gst_caps_flags_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_clock_type_get_type ()));
g_type_class_unref (g_type_class_peek (gst_clock_return_get_type ()));
g_type_class_unref (g_type_class_peek (gst_clock_entry_type_get_type ()));
g_type_class_unref (g_type_class_peek (gst_clock_flags_get_type ()));
g_type_class_unref (g_type_class_peek (gst_element_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
+ ()));
+ g_type_class_unref (g_type_class_peek (gst_parse_flags_get_type ()));
g_type_class_unref (g_type_class_peek (gst_resource_error_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_search_mode_get_type ()));
g_type_class_unref (g_type_class_peek (gst_stream_error_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_stream_status_type_get_type ()));
+ g_type_class_unref (g_type_class_peek (gst_structure_change_type_get_type
+ ()));
g_type_class_unref (g_type_class_peek (gst_event_type_flags_get_type ()));
g_type_class_unref (g_type_class_peek (gst_event_type_get_type ()));
g_type_class_unref (g_type_class_peek (gst_seek_type_get_type ()));