This is an automated email from the git hooks/post-receive script. hjudt pushed a commit to branch master in repository xfce/thunar.
commit b816e361c2a947c9907186a3f8044283c45e4557 Author: Harald Judt <h.j...@gmx.at> Date: Sat Feb 28 09:09:47 2015 +0100 Fix icon name for folders and a memory leak (bug #11608) --- thunar/thunar-file.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/thunar/thunar-file.c b/thunar/thunar-file.c index 2511fc8..e254347 100644 --- a/thunar/thunar-file.c +++ b/thunar/thunar-file.c @@ -3723,11 +3723,12 @@ thunar_file_get_icon_name (ThunarFile *file, } /* store new name, fallback to legacy names, or empty string to avoid recursion */ + g_free (file->icon_name); if (G_LIKELY (icon_name != NULL)) file->icon_name = icon_name; else if (file->kind == G_FILE_TYPE_DIRECTORY && gtk_icon_theme_has_icon (icon_theme, "folder")) - icon_name = g_strdup ("folder"); + file->icon_name = g_strdup ("folder"); else file->icon_name = g_strdup (""); -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits