[gnome-shell] st-texture-cache: fix GtkIconInfo leak



commit 7524210d1f2354266244c26d48d28a81f976a2a4
Author: Pavel Vasin <rat4vier gmail com>
Date:   Thu Jun 14 12:21:25 2012 +0400

    st-texture-cache: fix GtkIconInfo leak
    
    https://bugzilla.gnome.org/show_bug.cgi?id=678079

 src/st/st-texture-cache.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/st/st-texture-cache.c b/src/st/st-texture-cache.c
index 45f3930..68dd337 100644
--- a/src/st/st-texture-cache.c
+++ b/src/st/st-texture-cache.c
@@ -933,6 +933,7 @@ load_gicon_with_colors (StTextureCache    *cache,
   if (ensure_request (cache, key, policy, &request, texture))
     {
       /* If there's an outstanding request, we've just added ourselves to it */
+      gtk_icon_info_free (info);
       g_free (key);
     }
   else



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