Corrected a small issue in the "property" command that will attempt

to free memory from location 0 if the cell is not editable.
This commit is contained in:
Tim Edwards 2022-02-15 12:01:11 -05:00
parent 6ecd077ab4
commit 3a758912c4
2 changed files with 3 additions and 2 deletions

View File

@ -1 +1 @@
8.3.266
8.3.267

View File

@ -64,7 +64,8 @@ DBPropPut(cellDef, name, value)
if (cellDef->cd_flags & CDNOEDIT)
{
freeMagic((char *)value);
if (value != (ClientData)NULL)
freeMagic((char *)value);
return;
}