George Lober schrieb:
>> It surely must have been late last night, that I did not see this.
>> Free doesn't free if it points to a nil pointer.
>>> ANode := nil;
>>> ANode.Free;
>>> Doc := nil;
>>> Doc.Free;
>>
>> Remove the Doc:=nil line.
>>
>
> Yes, That was the culprit. Thanks.
Use FreeAndNil to achieve this.
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives