Explorar el Código

* Fixed bug #26117, as proposed by reporter

git-svn-id: trunk@27747 -
michael hace 11 años
padre
commit
c861384366
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      packages/fcl-db/src/export/fpdbexport.pp

+ 2 - 1
packages/fcl-db/src/export/fpdbexport.pp

@@ -456,7 +456,8 @@ begin
     If (FDataset<>Nil) then
       FDataset.RemoveFreeNotification(Self);
     FDataset:=AValue;
-    FDataset.FreeNotification(Self);
+    if (FDataset<>Nil) then
+      FDataset.FreeNotification(Self);
     UnbindFields;
     end;
 end;