[Xfce4-commits] [apps/xfdashboard] 09/20: Free ClutterColor in function _xfdashboard_theme_css_function_alpha at XfdashboardThemeCSS

noreply at xfce.org noreply at xfce.org
Sat May 16 21:21:18 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 78d797f34adb7255ec5e95ce4d0c85b94a0a531d
Author: Stephan Haller <nomad at froevel.de>
Date:   Sat May 16 19:44:16 2015 +0200

    Free ClutterColor in function _xfdashboard_theme_css_function_alpha at XfdashboardThemeCSS
---
 xfdashboard/theme-css.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/xfdashboard/theme-css.c b/xfdashboard/theme-css.c
index 2d6e030..e8e7984 100644
--- a/xfdashboard/theme-css.c
+++ b/xfdashboard/theme-css.c
@@ -591,6 +591,9 @@ static gboolean _xfdashboard_theme_css_function_alpha(XfdashboardThemeCSS *self,
 	g_value_init(outResult, CLUTTER_TYPE_COLOR);
 	clutter_value_set_color(outResult, &result);
 
+	/* Release allocated resources */
+	clutter_color_free(color);
+
 	return(TRUE);
 }
 

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


More information about the Xfce4-commits mailing list