* Patch from Inoussa to fix AV in certain cases

git-svn-id: trunk@17184 -
This commit is contained in:
michael 2011-03-26 18:54:44 +00:00
parent 6fa6151bef
commit baf0ed35f3

View File

@ -2484,7 +2484,7 @@ end;
}
procedure TDOMDocument.NodeListDestroyed(aList: TDOMNodeList);
begin
if not (nfDestroying in FFlags) then
if (not (nfDestroying in FFlags)) and (FNodeLists <> nil) then
FNodeLists.RemoveData(aList);
end;