From 10c47ef2af59dfba47633520faa9302af90a9ae7 Mon Sep 17 00:00:00 2001 From: scuri Date: Tue, 26 Jan 2010 15:56:35 +0000 Subject: *** empty log message *** --- src/libtiff/tif_close.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/libtiff/tif_close.c') diff --git a/src/libtiff/tif_close.c b/src/libtiff/tif_close.c index a594de1..ad8289c 100644 --- a/src/libtiff/tif_close.c +++ b/src/libtiff/tif_close.c @@ -1,4 +1,4 @@ -/* $Id: tif_close.c,v 1.3 2009/12/11 15:17:41 scuri Exp $ */ +/* $Id: tif_close.c,v 1.4 2010/01/26 15:56:36 scuri Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -54,27 +54,27 @@ TIFFCleanup(TIFF* tif) TIFFFreeDirectory(tif); if (tif->tif_dirlist) - _TIFFfree(tif->tif_dirlist); - + _TIFFfree(tif->tif_dirlist); + /* Clean up client info links */ while( tif->tif_clientinfo ) { - TIFFClientInfoLink *link = tif->tif_clientinfo; + TIFFClientInfoLink *link = tif->tif_clientinfo; - tif->tif_clientinfo = link->next; - _TIFFfree( link->name ); - _TIFFfree( link ); + tif->tif_clientinfo = link->next; + _TIFFfree( link->name ); + _TIFFfree( link ); } if (tif->tif_rawdata && (tif->tif_flags&TIFF_MYBUFFER)) - _TIFFfree(tif->tif_rawdata); + _TIFFfree(tif->tif_rawdata); if (isMapped(tif)) - TIFFUnmapFileContents(tif, tif->tif_base, tif->tif_size); + TIFFUnmapFileContents(tif, tif->tif_base, tif->tif_size); /* Clean up custom fields */ - if (tif->tif_nfields > 0) + if (tif->tif_nfields > 0) { - size_t i; + size_t i; for (i = 0; i < tif->tif_nfields; i++) { -- cgit v1.2.3