mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 23:58:06 +02:00
Debugger: fixed crash in disassembler (dangling pointer, due to wrong object in free notify)
(cherry picked from commit aeffa71e22
)
This commit is contained in:
parent
f273c758fb
commit
09f989b452
@ -4961,7 +4961,7 @@ begin
|
||||
OldId := MergeRng.RangeStartAddr;
|
||||
MergeRng.Merge(ARange);
|
||||
if assigned(FOnMerge)
|
||||
then FOnMerge(ARange, MergeRng);
|
||||
then FOnMerge(MergeRng, ARange);
|
||||
FFreeItemLock := True; // prevent destruction of MergeRng
|
||||
Delete(OldId);
|
||||
FFreeItemLock := False;
|
||||
|
Loading…
Reference in New Issue
Block a user