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:
parent
6ecd077ab4
commit
3a758912c4
|
|
@ -64,7 +64,8 @@ DBPropPut(cellDef, name, value)
|
|||
|
||||
if (cellDef->cd_flags & CDNOEDIT)
|
||||
{
|
||||
freeMagic((char *)value);
|
||||
if (value != (ClientData)NULL)
|
||||
freeMagic((char *)value);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue