You've already forked lazarus-ccr
Fixed memory leak in ReadOLEFile.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@946 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -770,7 +770,8 @@ var
|
||||
CurrentSectorPos: Int64;
|
||||
begin
|
||||
FOLEDocument := AOLEDocument;
|
||||
AOLEDocument.Stream := TMemoryStream.Create;
|
||||
if not Assigned(AOLEDocument.Stream) then
|
||||
AOLEDocument.Stream := TMemoryStream.Create;
|
||||
AFileStream := TFileStream.Create(AFileName, fmOpenRead);
|
||||
try
|
||||
// Header
|
||||
|
Reference in New Issue
Block a user