# HG changeset patch # User nadvornik # Date 1213643222 0 # Node ID 64ef209bcded1fb93abbf3e31b1541907b4d9146 # Parent cb957189e723cf044964057cd6e130445314cfdf fixed memory leak diff -r cb957189e723 -r 64ef209bcded src/thumb.c --- 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); diff -r cb957189e723 -r 64ef209bcded src/thumb_standard.c --- 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);