[PATCH] icon-theme: fix leak in insert_theme()

2013-02-06 Thread Alex Chiang
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_mt

[PATCH] icon-theme: fix leak in insert_theme()

2012-12-02 Thread Alex Chiang
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_mt