|
@@ -772,7 +772,10 @@ begin
|
|
begin Dispose(B, Done); B:=nil; end;
|
|
begin Dispose(B, Done); B:=nil; end;
|
|
if B=nil then Fail;
|
|
if B=nil then Fail;
|
|
if Create(B^)=false then
|
|
if Create(B^)=false then
|
|
- Fail;
|
|
|
|
|
|
+ Begin
|
|
|
|
+ Dispose(B,Done);
|
|
|
|
+ Fail;
|
|
|
|
+ End;
|
|
MyStream:=true;
|
|
MyStream:=true;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -784,14 +787,20 @@ begin
|
|
begin Dispose(B, Done); B:=nil; end;
|
|
begin Dispose(B, Done); B:=nil; end;
|
|
if B=nil then Fail;
|
|
if B=nil then Fail;
|
|
if Load(B^)=false then
|
|
if Load(B^)=false then
|
|
- Fail;
|
|
|
|
|
|
+ Begin
|
|
|
|
+ Dispose(B,Done);
|
|
|
|
+ Fail;
|
|
|
|
+ End;
|
|
MyStream:=true;
|
|
MyStream:=true;
|
|
end;
|
|
end;
|
|
|
|
|
|
END.
|
|
END.
|
|
{
|
|
{
|
|
$Log$
|
|
$Log$
|
|
- Revision 1.9 2000-04-18 11:42:39 pierre
|
|
|
|
|
|
+ Revision 1.10 2000-05-16 21:48:13 pierre
|
|
|
|
+ * dispose of PBufStream before Fail in TResourceFile.LoadFile and CreateFile
|
|
|
|
+
|
|
|
|
+ Revision 1.9 2000/04/18 11:42:39 pierre
|
|
lot of Gabor changes : see fixes.txt
|
|
lot of Gabor changes : see fixes.txt
|
|
|
|
|
|
Revision 1.8 2000/02/07 08:29:14 michael
|
|
Revision 1.8 2000/02/07 08:29:14 michael
|
|
@@ -858,4 +867,4 @@ END.
|
|
+ tph writer
|
|
+ tph writer
|
|
+ first things for resource files
|
|
+ first things for resource files
|
|
|
|
|
|
-}
|
|
|
|
|
|
+}
|