From 7b303a38c51263f61a4c8461233d091644a39a93 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Sat, 7 May 2011 13:22:50 +0200 Subject: [PATCH] GESTrackEffect: Use gst_object_unref for the hash value destroyfunc The values are GstObjects and it makes it easier to track in debug logs when they are being unreffed. --- ges/ges-track-effect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ges/ges-track-effect.c b/ges/ges-track-effect.c index 50b15e51de..af9251ebd3 100644 --- a/ges/ges-track-effect.c +++ b/ges/ges-track-effect.c @@ -111,7 +111,7 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self) } ret = g_hash_table_new_full ((GHashFunc) pspec_hash, pspec_equal, - (GDestroyNotify) g_param_spec_unref, g_object_unref); + (GDestroyNotify) g_param_spec_unref, gst_object_unref); /* We go over child elements recursivly, and add writable properties to the * hashtable