diff src/filedata.c @ 1439:2441a90c4bcf

compute histogram in idle time
author nadvornik
date Sun, 15 Mar 2009 11:34:09 +0000
parents cf4029d10d38
children 5f49f305a6b6
line wrap: on
line diff
--- a/src/filedata.c	Sun Mar 15 09:06:13 2009 +0000
+++ b/src/filedata.c	Sun Mar 15 11:34:09 2009 +0000
@@ -20,6 +20,7 @@
 #include "ui_fileops.h"
 #include "metadata.h"
 #include "trash.h"
+#include "histogram.h"
 
 
 static GHashTable *file_data_pool = NULL;
@@ -509,7 +510,7 @@
 	g_free(fd->collate_key_name);
 	g_free(fd->collate_key_name_nocase);
 	if (fd->thumb_pixbuf) g_object_unref(fd->thumb_pixbuf);
-	g_free(fd->histmap);
+	histmap_free(fd->histmap);
 	
 	g_assert(fd->sidecar_files == NULL); /* sidecar files must be freed before calling this */