_priv_gst_registry_cleanup ();
_priv_gst_allocator_cleanup ();
+ _priv_gst_caps_features_cleanup ();
#ifndef GST_DISABLE_TRACE
_priv_gst_alloc_trace_deinit ();
/* cleanup functions called from gst_deinit(). */
G_GNUC_INTERNAL void _priv_gst_allocator_cleanup (void);
+G_GNUC_INTERNAL void _priv_gst_caps_features_cleanup (void);
/* Private registry functions */
G_GNUC_INTERNAL
&static_caps_features_parent_refcount);
}
+void
+_priv_gst_caps_features_cleanup (void)
+{
+ gst_caps_features_set_parent_refcount (_gst_caps_features_any, NULL);
+ gst_caps_features_free (_gst_caps_features_any);
+ _gst_caps_features_any = NULL;
+ gst_caps_features_set_parent_refcount
+ (_gst_caps_features_memory_system_memory, NULL);
+ gst_caps_features_free (_gst_caps_features_memory_system_memory);
+ _gst_caps_features_memory_system_memory = NULL;
+}
+
gboolean
gst_is_caps_features (gconstpointer obj)
{