[Xfce4-commits] [apps/xfdashboard] 06/20: Free effect list after duplication at XfdashboardActor

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:15 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 7f37b8a9f103adaaa7fadd5e8317626b8f004556
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:28:50 2015 +0200

    Free effect list after duplication at XfdashboardActor
---
 xfdashboard/actor.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/xfdashboard/actor.c b/xfdashboard/actor.c
index c617087..9a836ab 100644
--- a/xfdashboard/actor.c
+++ b/xfdashboard/actor.c
@@ -258,6 +258,7 @@ static void _xfdashboard_actor_update_effects(XfdashboardActor *self, const gcha
 	priv->effects=g_strdup(effectsList);
 
 	/* Release allocated resources */
+	if(effectsList) g_free(effectsList);
 	if(effectIDs) g_strfreev(effectIDs);
 	g_object_unref(themeEffects);
 }

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


More information about the Xfce4-commits mailing list