projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6eac9ec
)
do not free unallocated exif data
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 28 Jul 2008 18:02:10 +0000
(18:02 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Mon, 28 Jul 2008 18:02:10 +0000
(18:02 +0000)
src/image.c
patch
|
blob
|
history
diff --git
a/src/image.c
b/src/image.c
index
4f279b2
..
5133df4
100644
(file)
--- a/
src/image.c
+++ b/
src/image.c
@@
-1064,7
+1064,8
@@
void image_change_pixbuf(ImageWindow *imd, GdkPixbuf *pixbuf, gdouble zoom)
}
}
- 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) );