Corrected one other instance of checking for NULL when it should
have checked for CLIENTDEFAULT.
This commit is contained in:
parent
c360fb9d5a
commit
d5b695fea0
|
|
@ -415,7 +415,8 @@ calmaParseStructure(filename)
|
|||
|
||||
for (pNum = 0; pNum < MAXCIFRLAYERS; pNum++)
|
||||
{
|
||||
if (cifplanes[pNum] != NULL)
|
||||
if ((cifReadCellDef->cd_client != (ClientData)CLIENTDEFAULT) &&
|
||||
(cifplanes[pNum] != NULL))
|
||||
{
|
||||
DBFreePaintPlane(cifplanes[pNum]);
|
||||
TiFreePlane(cifplanes[pNum]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue