changeset 1225:3e5f52382573

fixed previous change
author nadvornik
date Fri, 26 Dec 2008 17:38:52 +0000
parents ebfd305d902e
children 9dae588b8d5e
files src/metadata.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/metadata.c	Fri Dec 26 14:12:36 2008 +0000
+++ b/src/metadata.c	Fri Dec 26 17:38:52 2008 +0000
@@ -112,7 +112,7 @@
 		
 		if (fd->change) continue; /* another operation in progress, skip this file for now */
 		
-		to_approve = g_list_prepend(to_approve, fd);
+		to_approve = g_list_prepend(to_approve, file_data_ref(fd));
 		}
 
 	file_util_write_metadata(NULL, to_approve, NULL);