[Xfce4-commits] [apps/xfdashboard] 18/31: Free effect list after duplication at XfdashboardActor
noreply at xfce.org
noreply at xfce.org
Thu Jun 11 19:57:13 CEST 2015
This is an automated email from the git hooks/post-receive script.
nomad pushed a commit to annotated tag 0.4.1
in repository apps/xfdashboard.
commit ff26e5870f0ceaa9417eafb981c455b3e82ba217
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 851c9df..82a027a 100644
--- a/xfdashboard/actor.c
+++ b/xfdashboard/actor.c
@@ -257,6 +257,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