* fix heaptrace segfault, access of lost block

git-svn-id: trunk@7806 -
This commit is contained in:
micha 2007-06-24 21:33:29 +00:00
parent afb5f32f65
commit b4363e046b

View File

@ -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);