Explorar el Código

* Patch from Inoussa to fix AV in certain cases

git-svn-id: trunk@17184 -
michael hace 14 años
padre
commit
baf0ed35f3
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-xml/src/dom.pp

+ 1 - 1
packages/fcl-xml/src/dom.pp

@@ -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;