Explorar el Código

* add a check to TRecall.store for FStorage=nil. Patch by Luiz, Mantis #21404

git-svn-id: trunk@20462 -
marco hace 13 años
padre
commit
b956e9e52d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      rtl/objpas/classes/persist.inc

+ 1 - 1
rtl/objpas/classes/persist.inc

@@ -142,7 +142,7 @@ end;
 
 procedure TRecall.Store;
 begin
-  if Assigned(FReference) then
+  if Assigned(FStorage) and Assigned(FReference) then
     FStorage.Assign(FReference);
 end;