cocoa: Patch from issue #28510 autorelease pool mem leak fix

git-svn-id: trunk@49633 -
This commit is contained in:
sekelsenmat 2015-08-10 18:36:10 +00:00
parent 58cbaacbda
commit b056d5b455
2 changed files with 6 additions and 2 deletions

View File

@ -1333,9 +1333,12 @@ begin
begin
Result:=RecurseSubviews(window.contentView, Point);
if Result<>0 then
begin
pool.release;
exit;
end;
end;
end;
pool.release;
end;

View File

@ -417,6 +417,7 @@ var
if not Assigned(win) then
begin
pool.release;
Result := 0;
Exit;
end;