summaryrefslogtreecommitdiff
path: root/libtiff/tif_close.c
diff options
context:
space:
mode:
authorAndrey Kiselev <dron@ak4719.spb.edu>2007-07-10 11:52:02 +0000
committerAndrey Kiselev <dron@ak4719.spb.edu>2007-07-10 11:52:02 +0000
commit3092c18cd37a1caa71770f909402d29d048a14ec (patch)
tree590af119b06c61a777c3fc9366e420e302e9e6e4 /libtiff/tif_close.c
parent70f82bf5395aa606eb2cbb9ee0d337bd21744fb0 (diff)
downloadlibtiff-git-3092c18cd37a1caa71770f909402d29d048a14ec.tar.gz
Even more work to improve tag extending scheme. tif_fieldinfo member in TIFF
structure renamed into tif_fields to be consistent with the new function names.
Diffstat (limited to 'libtiff/tif_close.c')
-rw-r--r--libtiff/tif_close.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libtiff/tif_close.c b/libtiff/tif_close.c
index 61b9cff8..6275c355 100644
--- a/libtiff/tif_close.c
+++ b/libtiff/tif_close.c
@@ -1,4 +1,4 @@
-/* $Id: tif_close.c,v 1.13 2007-07-08 18:30:41 dron Exp $ */
+/* $Id: tif_close.c,v 1.14 2007-07-10 11:52:02 dron Exp $ */
/*
* Copyright (c) 1988-1997 Sam Leffler
@@ -78,7 +78,7 @@ TIFFCleanup(TIFF* tif)
for (i = 0; i < tif->tif_nfields; i++)
{
- TIFFField *fld = tif->tif_fieldinfo[i];
+ TIFFField *fld = tif->tif_fields[i];
if (fld->field_bit == FIELD_CUSTOM &&
strncmp("Tag ", fld->field_name, 4) == 0)
{
@@ -87,7 +87,7 @@ TIFFCleanup(TIFF* tif)
}
}
- _TIFFfree(tif->tif_fieldinfo);
+ _TIFFfree(tif->tif_fields);
}
_TIFFfree(tif);