From f8a0f2f641d2d9ba11387375000ec3adbefa6de9 Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Thu, 15 Aug 2002 12:59:50 +0000 Subject: [PATCH] added comment --- libtiff/tif_dirinfo.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libtiff/tif_dirinfo.c b/libtiff/tif_dirinfo.c index c7babb4e..5a815c1d 100644 --- a/libtiff/tif_dirinfo.c +++ b/libtiff/tif_dirinfo.c @@ -1,4 +1,4 @@ -/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dirinfo.c,v 1.17 2002-04-17 13:09:04 dron Exp $ */ +/* $Header: /cvs/maptools/cvsroot/libtiff/libtiff/tif_dirinfo.c,v 1.18 2002-08-15 12:59:50 warmerda Exp $ */ /* * Copyright (c) 1988-1997 Sam Leffler @@ -463,6 +463,8 @@ _TIFFCreateAnonFieldInfo(TIFF *tif, ttag_t tag, TIFFDataType field_type) fld->field_oktochange = TRUE; fld->field_passcount = TRUE; fld->field_name = (char *) _TIFFmalloc(32); + + /* note that this name is a special sign to TIFFClose() to free the field*/ sprintf(fld->field_name, "Tag %d", (int) tag); return fld;