diff src/thumb.c @ 844:efed9a1520d6

implemented generic FileData cache use it for caching decoded exif data
author nadvornik
date Wed, 18 Jun 2008 22:26:52 +0000
parents 94048d7843ba
children 06929cbcd796
line wrap: on
line diff
--- a/src/thumb.c	Tue Jun 17 20:25:05 2008 +0000
+++ b/src/thumb.c	Wed Jun 18 22:26:52 2008 +0000
@@ -172,7 +172,7 @@
 				tl->fd->exif_orientation = orientation;
 			else
 				tl->fd->exif_orientation = EXIF_ORIENTATION_TOP_LEFT;
-			exif_free(exif);
+			exif_free_fd(tl->fd, exif);
 			}
 		
 		if (tl->fd->exif_orientation != EXIF_ORIENTATION_TOP_LEFT)