mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-10-06 09:53:00 +02:00
Corrected one other instance of checking for NULL when it should
have checked for CLIENTDEFAULT.
This commit is contained in:
+2
-1
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user