Explorar o código

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

git-svn-id: trunk@20462 -
marco %!s(int64=13) %!d(string=hai) anos
pai
achega
b956e9e52d
Modificáronse 1 ficheiros con 1 adicións e 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;