Mercurial > geeqie.yaz
changeset 954:ed0fc0986928
do not free unallocated exif data
author | nadvornik |
---|---|
date | Mon, 28 Jul 2008 18:02:10 +0000 |
parents | 1e61dac76311 |
children | ffbc9195f47f |
files | src/image.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image.c Mon Jul 28 17:59:09 2008 +0000 +++ b/src/image.c Mon Jul 28 18:02:10 2008 +0000 @@ -1064,7 +1064,8 @@ } } - exif_free_fd(imd->image_fd, exif); + if (read_exif_for_color_profile || read_exif_for_orientation) + 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) );