We allocate path with g_build_filename() but never free it.

---
diff --git a/gtk/gtkicontheme.c b/gtk/gtkicontheme.c
index 0520686..cd2d765 100644
--- a/gtk/gtkicontheme.c
+++ b/gtk/gtkicontheme.c
@@ -1113,6 +1113,7 @@ insert_theme (GtkIconTheme *icon_theme, const char 
*theme_name)
        dir_mtime->mtime = 0;
 
       priv->dir_mtimes = g_list_prepend (priv->dir_mtimes, dir_mtime);
+      g_free (path);
     }
   priv->dir_mtimes = g_list_reverse (priv->dir_mtimes);
 
_______________________________________________
gtk-devel-list mailing list
gtk-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to