File tree 3 files changed +2
-2
lines changed
3 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -449,6 +449,7 @@ var //
449
449
begin
450
450
Result := 0 ;
451
451
GlobalPath := path;
452
+ if Assigned(Cloud) then FreeAndNil(Cloud);
452
453
if GlobalPath = ' \' then
453
454
begin // ñïèñîê ñîåäèíåíèé
454
455
Sections := TStringList.Create;
@@ -519,7 +520,7 @@ begin
519
520
Result := true;
520
521
end
521
522
else Result := false;
522
- Sections.Free;
523
+ Sections.Free;
523
524
end else begin
524
525
// Ïîëó÷åíèå ïîñëåäóþùèõ ôàéëîâ â ïàïêå (âûçûâàåòñÿ äî òåõ ïîð, ïîêà íå âåðí¸ò false).
525
526
if (Length(CurrentListing) > FileCounter) then
537
538
538
539
function FsFindClose (Hdl: thandle): integer; stdcall;
539
540
Begin // Çàâåðøåíèå ïîëó÷åíèÿ ñïèñêà ôàéëîâ. Result òîòàëîì íå èñïîëüçóåòñÿ (âñåãäà ðàâåí 0)
540
- if Assigned(Cloud) then FreeAndNil(Cloud);
541
541
Result := 0 ;
542
542
FileCounter := 0 ;
543
543
end ;
You can’t perform that action at this time.
0 commit comments