changeset 20911:34420be6e537

Close a dir after reading from it. Thanks, datallah.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Mon, 15 Oct 2007 18:52:51 +0000
parents 54d232b52607
children f7f1e893236c
files finch/libgnt/gntfilesel.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/finch/libgnt/gntfilesel.c	Fri Oct 12 22:26:44 2007 +0000
+++ b/finch/libgnt/gntfilesel.c	Mon Oct 15 18:52:51 2007 +0000
@@ -265,6 +265,7 @@
 		}
 		g_free(fp);
 	}
+	g_dir_close(dir);
 
 	*files = g_list_reverse(*files);
 	return TRUE;