note leak of anonymous field structure
This commit is contained in:
parent
6e6e603753
commit
60205a8369
@ -1,4 +1,4 @@
|
||||
/* $Id: tif_dirread.c,v 1.142 2008-05-25 03:11:33 fwarmerdam Exp $ */
|
||||
/* $Id: tif_dirread.c,v 1.143 2008-07-29 18:45:40 fwarmerdam Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1988-1997 Sam Leffler
|
||||
@ -3454,6 +3454,8 @@ TIFFReadDirectory(TIFF* tif)
|
||||
TIFFWarningExt(tif->tif_clientdata, module,
|
||||
"Unknown field with tag %d (0x%x) encountered",
|
||||
dp->tdir_tag,dp->tdir_tag);
|
||||
/* the following knowingly leaks the
|
||||
anonymous field structure */
|
||||
if (!_TIFFMergeFields(tif,
|
||||
_TIFFCreateAnonField(tif,
|
||||
dp->tdir_tag,
|
||||
|
Loading…
Reference in New Issue
Block a user