rem: if (bvw->priv->metadata_hash) { g_hash_table_destroy (bvw->priv->metadata_hash); bvw->priv->metadata_hash = NULL; }  if (bvw->priv->vis_plugins_list) { g_list_foreach (bvw->priv->vis_plugins_list, (GFunc) g_free, NULL); g_list_free (bvw->priv->vis_plugins_list); bvw->priv->vis_plugins_list = NULL; }  if (bvw->priv->play != NULL && GST_IS_PLAY (bvw->priv->play)) gst_play_set_state (bvw->priv->play, GST_STATE_READY);
add: if (bvw->priv->metadata_hash) { g_hash_table_destroy (bvw->priv->metadata_hash); bvw->priv->metadata_hash = NULL; }
context: bacon_video_widget_finalize (GObject *object){	BaconVideoWidget *bvw = (BaconVideoWidget *) object;	if (bvw->priv->metadata_hash) {		g_hash_table_destroy (bvw->priv->metadata_hash);		bvw->priv->metadata_hash = NULL;	}		if (bvw->priv->vis_plugins_list) {		g_list_foreach (bvw->priv->vis_plugins_list, (GFunc) g_free, NULL);		g_list_free (bvw->priv->vis_plugins_list);		bvw->priv->vis_plugins_list = NULL;	}			if (bvw->priv->play != NULL && GST_IS_PLAY (bvw->priv->play))		gst_play_set_state (bvw->priv->play, GST_STATE_READY);	if (bvw->priv->vw != NULL && GST_IS_VIDEO_WIDGET(bvw->priv->vw))	{		gtk_widget_destroy (GTK_WIDGET(bvw->priv->vw));		bvw->priv->vw = NULL;	}	if ( (bvw->priv->play) && GST_IS_PLAY(bvw->priv->play) )	{		g_object_unref (bvw->priv->play);		bvw->priv->play = NULL;	}}