|
@@ -120,7 +120,7 @@ implementation
|
|
begin
|
|
begin
|
|
with pextra_info(p)^ do
|
|
with pextra_info(p)^ do
|
|
begin
|
|
begin
|
|
- writeln(t,getfilename(fileindex)+'('+tostr(line)+','+tostr(col)+') ');
|
|
|
|
|
|
+ writeln(t,'Memory allocated at '+getfilename(fileindex)+'('+tostr(line)+','+tostr(col)+') ');
|
|
end;
|
|
end;
|
|
end;
|
|
end;
|
|
|
|
|
|
@@ -132,7 +132,9 @@ implementation
|
|
begin
|
|
begin
|
|
if not pp_heap_inited then
|
|
if not pp_heap_inited then
|
|
begin
|
|
begin
|
|
|
|
+{$ifdef extheaptrc}
|
|
keepreleased:=true;
|
|
keepreleased:=true;
|
|
|
|
+{$endif extheaptrc}
|
|
SetHeapTraceOutput('heap.log');
|
|
SetHeapTraceOutput('heap.log');
|
|
SetHeapExtraInfo(sizeof(textra_info),
|
|
SetHeapExtraInfo(sizeof(textra_info),
|
|
@set_extra_info,
|
|
@set_extra_info,
|