Mercurial > hg > forks > geeqie
changeset 841:6d9876f3580c
fixed memory leak
author | Vladimir Nadvornik <nadvornik@suse.cz> |
---|---|
date | Mon, 16 Jun 2008 19:07:02 +0000 |
parents | 4f168cd71913 |
children | fee57526f434 |
files | src/thumb.c src/thumb_standard.c |
diffstat | 2 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/thumb.c Mon Jun 16 18:37:35 2008 +0000 +++ b/src/thumb.c Mon Jun 16 19:07:02 2008 +0000 @@ -172,6 +172,7 @@ tl->fd->exif_orientation = orientation; else tl->fd->exif_orientation = 1; + exif_free(exif); } rotated = pixbuf_apply_orientation(pixbuf, tl->fd->exif_orientation);
--- a/src/thumb_standard.c Mon Jun 16 18:37:35 2008 +0000 +++ b/src/thumb_standard.c Mon Jun 16 19:07:02 2008 +0000 @@ -414,6 +414,7 @@ tl->fd->exif_orientation = orientation; else tl->fd->exif_orientation = 1; + exif_free(exif); } rotated = pixbuf_apply_orientation(pixbuf, tl->fd->exif_orientation);