Skip to content

Commit fb05748

Browse files
committed
fixes && binary builds
1 parent 82ccfc4 commit fb05748

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

MailRuCloud.dpr

+2-2
Original file line numberDiff line numberDiff line change
@@ -449,6 +449,7 @@ var //
449449
begin
450450
Result := 0;
451451
GlobalPath := path;
452+
if Assigned(Cloud) then FreeAndNil(Cloud);
452453
if GlobalPath = '\' then
453454
begin // ñïèñîê ñîåäèíåíèé
454455
Sections := TStringList.Create;
@@ -519,7 +520,7 @@ begin
519520
Result := true;
520521
end
521522
else Result := false;
522-
Sections.Free;
523+
Sections.Free;
523524
end else begin
524525
// Ïîëó÷åíèå ïîñëåäóþùèõ ôàéëîâ â ïàïêå (âûçûâàåòñÿ äî òåõ ïîð, ïîêà íå âåðí¸ò false).
525526
if (Length(CurrentListing) > FileCounter) then
@@ -537,7 +538,6 @@ end;
537538

538539
function FsFindClose(Hdl: thandle): integer; stdcall;
539540
Begin // Çàâåðøåíèå ïîëó÷åíèÿ ñïèñêà ôàéëîâ. Result òîòàëîì íå èñïîëüçóåòñÿ (âñåãäà ðàâåí 0)
540-
if Assigned(Cloud) then FreeAndNil(Cloud);
541541
Result := 0;
542542
FileCounter := 0;
543543
end;

MailRuCloud.wfx

0 Bytes
Binary file not shown.

MailRuCloud.wfx64

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)