changeset 909:6f65d3ecf353

fixed http://sourceforge.net/tracker/index.php?func=detail&aid=2019012&group_id=222125&atid=1054680
author nadvornik
date Mon, 21 Jul 2008 21:38:26 +0000
parents 5a737cc935cc
children b394ecbf3dca
files src/search.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/search.c	Mon Jul 21 20:50:24 2008 +0000
+++ b/src/search.c	Mon Jul 21 21:38:26 2008 +0000
@@ -2022,7 +2022,7 @@
 
 	if (sd->search_dir_fd)
 		{
-		sd->search_folder_list = g_list_prepend(sd->search_folder_list, sd->search_dir_fd);
+		sd->search_folder_list = g_list_prepend(sd->search_folder_list, file_data_ref(sd->search_dir_fd));
 		}
 
 	if (!sd->search_name_match_case)