fix memleak in exif write

This commit is contained in:
John Cupitt 2011-07-29 11:41:18 +01:00
parent 122c697349
commit 0087b3b655

View File

@ -315,6 +315,7 @@ write_tag( ExifData *ed, ExifTag tag, ExifFormat f, write_fn fn, void *data )
exif_content_add_entry( ed->ifd[0], entry ); exif_content_add_entry( ed->ifd[0], entry );
exif_entry_initialize( entry, tag ); exif_entry_initialize( entry, tag );
fn( entry, bo, data ); fn( entry, bo, data );
exif_entry_unref( entry );
} }
return( 0 ); return( 0 );