Mercurial > geeqie.yaz
changeset 841:64ef209bcded
fixed memory leak
author | nadvornik |
---|---|
date | Mon, 16 Jun 2008 19:07:02 +0000 |
parents | cb957189e723 |
children | 94048d7843ba |
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);