summaryrefslogtreecommitdiff
path: root/epostunit.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2017-12-20 16:16:57 +0100
committerErich Eckner <git@eckner.net>2017-12-20 16:16:57 +0100
commitb47742d80e93a7465dbb363bf755e966df20b4fa (patch)
tree3e4aad3ee6014069f95a62e3abbdb5a181c86d36 /epostunit.pas
parent347b2d8b5d2ec70f1d2e58b3faaba000394d9e9c (diff)
downloadepost-b47742d80e93a7465dbb363bf755e966df20b4fa.tar.xz
epostunit.pas: tWerte.findeAlleDateien: bugfix (use after free)
Diffstat (limited to 'epostunit.pas')
-rw-r--r--epostunit.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/epostunit.pas b/epostunit.pas
index 17a3d21..f03d39d 100644
--- a/epostunit.pas
+++ b/epostunit.pas
@@ -1105,8 +1105,8 @@ begin
err:=findFirst(sA[i],$3f,sR);
if err<>0 then begin
findClose(sR);
- sA.free;
gibAus('Keine Datei passt zum Muster '''+sA[i]+'''!',3);
+ sA.free;
exit;
end;
while err=0 do begin