[Xfce4-commits] [apps/xfdashboard] 10/20: Free also list itself when object instance XfdashboardThemeEffects is disposed

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:19 CEST 2015


This is an automated email from the git hooks/post-receive script.

nomad pushed a commit to branch master
in repository apps/xfdashboard.

commit 7af76bdb55de63667fecc74042ada306f865154c
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:48:15 2015 +0200

    Free also list itself when object instance XfdashboardThemeEffects is disposed
---
 xfdashboard/theme-effects.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/xfdashboard/theme-effects.c b/xfdashboard/theme-effects.c
index c0e19a7..57db708 100644
--- a/xfdashboard/theme-effects.c
+++ b/xfdashboard/theme-effects.c
@@ -1144,6 +1144,7 @@ static void _xfdashboard_theme_effects_dispose(GObject *inObject)
 	if(priv->effects)
 	{
 		g_slist_foreach(priv->effects, _xfdashboard_theme_effects_object_data_free_foreach_callback, NULL);
+		g_slist_free(priv->effects);
 		priv->effects=NULL;
 	}
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list