changeset 1371:2c2f86e30f6c

Fix memleak in previous patch.
author zas_
date Mon, 02 Mar 2009 21:05:57 +0000
parents 0011d6859ec5
children 4db89b602093
files src/ui_tabcomp.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ui_tabcomp.c	Mon Mar 02 21:04:38 2009 +0000
+++ b/src/ui_tabcomp.c	Mon Mar 02 21:05:57 2009 +0000
@@ -130,6 +130,7 @@
 				{
 				gchar *dname = g_strconcat(name, G_DIR_SEPARATOR_S, NULL);
 				list = g_list_prepend(list, path_to_utf8(dname));
+				g_free(dname);
 				}
 			else
 				{