mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-12 20:31:15 +02:00
* fix heaptrace segfault, access of lost block
git-svn-id: trunk@7806 -
This commit is contained in:
parent
afb5f32f65
commit
b4363e046b
@ -673,8 +673,9 @@ begin
|
||||
{ allocated in different heap, push to that todolist }
|
||||
pp^.todonext := pp^.todolist^;
|
||||
pp^.todolist^ := pp;
|
||||
TraceFreeMemSize := pp^.size;
|
||||
leavecriticalsection(todo_lock);
|
||||
exit(pp^.size);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
TraceFreeMemSize:=InternalFreeMemSize(loc_info,p,pp,size,release_lock);
|
||||
|
Loading…
Reference in New Issue
Block a user