From 26a627e7b54fdfba466375ca9b69ac42b9882cb6 Mon Sep 17 00:00:00 2001 From: Merlijn Wajer Date: Mon, 1 Aug 2011 16:25:41 +0200 Subject: [PATCH] MML/Finder: Fix leak in FindBitmapSpiralTolerance. Effectively only leaked on non-Windows platforms. --- Units/MMLCore/finder.pas | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Units/MMLCore/finder.pas b/Units/MMLCore/finder.pas index d9eef25..bb97efe 100644 --- a/Units/MMLCore/finder.pas +++ b/Units/MMLCore/finder.pas @@ -1692,6 +1692,8 @@ begin end; //We did find the Bmp, otherwise we would be at the part below + TClient(Client).IOManager.FreeReturnData; + x := ClientTPA[i].x + xs; y := ClientTPA[i].y + ys; result := true;