[gtk-theme-engine-clearlooks] Plug a memory leak



commit b71416fe4f29cb1db7c4f310185f3f384f5d2984
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Tue Dec 7 01:11:51 2010 +0100

    Plug a memory leak

 src/clearlooks_engine.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/clearlooks_engine.c b/src/clearlooks_engine.c
index a216135..2c98b50 100644
--- a/src/clearlooks_engine.c
+++ b/src/clearlooks_engine.c
@@ -1489,6 +1489,7 @@ clearlooks_engine_render_layout (GtkThemingEngine *engine,
 				NULL);
 
 	gdk_cairo_set_source_rgba (cr, color);
+        gdk_rgba_free (color);
 
 	if (state == 0 &&
 	    gtk_theming_engine_has_class (engine, GTK_STYLE_CLASS_ACCELERATOR)) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]