Mercurial > geeqie
diff src/image.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 | fb249b8e63e4 |
children | 8911a4f0e56c |
line wrap: on
line diff
--- a/src/image.c Tue Jun 17 20:25:05 2008 +0000 +++ b/src/image.c Wed Jun 18 22:26:52 2008 +0000 @@ -535,7 +535,7 @@ if (!imd->cm) image_post_process_alter(imd, clamp); - exif_free(exif); + exif_free_fd(fd, exif); #endif } @@ -731,7 +731,7 @@ if (imd->color_profile_use_image) exif = exif_read_fd(imd->image_fd); // image_post_process_color(imd, imd->prev_color_row, exif, TRUE); - exif_free(exif); + exif_free_fd(imd->image_fd, exif); } success = TRUE; } @@ -1328,7 +1328,7 @@ } } - exif_free(exif); + exif_free_fd(imd->image_fd, exif); if (imd->cm || imd->desaturate) pixbuf_renderer_set_post_process_func((PixbufRenderer *)imd->pr, image_post_process_tile_color_cb, (gpointer) imd, (imd->cm != NULL) );