[gtk+] stylecontext: Fix a memleak



commit 947fed0961a26b7d017df18c3ad9723967574279
Author: Benjamin Otte <otte redhat com>
Date:   Thu Nov 8 22:08:36 2012 +0100

    stylecontext: Fix a memleak

 gtk/gtkstylecontext.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkstylecontext.c b/gtk/gtkstylecontext.c
index afa9300..33776d2 100644
--- a/gtk/gtkstylecontext.c
+++ b/gtk/gtkstylecontext.c
@@ -2960,6 +2960,8 @@ gtk_style_context_update_cache (GtkStyleContext  *context,
         changes = _gtk_bitmask_union (changes, data->store->depends_on_font_size);
 
       build_properties (context, data->store, info, changes);
+
+      _gtk_bitmask_free (changes);
     }
 }
 



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