Corrected careless error from yesterday's commit that causes "gds read"

to crash.
This commit is contained in:
Tim Edwards 2020-03-14 09:50:36 -04:00
parent 80fa495103
commit 1a882bf2d7
1 changed files with 1 additions and 1 deletions

View File

@ -345,11 +345,11 @@ calmaParseStructure(filename)
}
}
cifReadCellDef = calmaFindCell(strname, &was_called);
def->cd_flags &= ~CDDEREFERENCE;
DBCellClearDef(cifReadCellDef);
DBCellSetAvail(cifReadCellDef);
HashSetValue(he, cifReadCellDef);
cifCurReadPlanes = cifSubcellPlanes;
cifReadCellDef->cd_flags &= ~CDDEREFERENCE;
/* Done with strname */
if (strname != NULL) freeMagic(strname);