mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Fix one memory leak in threaded queries (detected by testing and comparing, using taskmanager)
This commit is contained in:
@ -338,7 +338,7 @@ begin
|
||||
on E: Exception do begin
|
||||
if E.Message = SCanNotOpenResultSet then begin
|
||||
Result := true;
|
||||
ADataset := nil;
|
||||
FreeAndNil(ADataset);
|
||||
end else AExceptionData := GetExceptionData(E);
|
||||
end;
|
||||
end;
|
||||
|
Reference in New Issue
Block a user