mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 19:09:23 +02:00
* don't call DoneDebugInfo twice in tmodule.reset
* call DoneDebugInfo in tmodule.destroy (fixes all remaining dwarf memory leaks) git-svn-id: trunk@9526 -
This commit is contained in:
parent
9a614617e4
commit
d740304b77
@ -553,6 +553,7 @@ implementation
|
||||
procinfo:=hpi;
|
||||
end;
|
||||
end;
|
||||
DoneDebugInfo(self);
|
||||
used_units.free;
|
||||
dependent_units.free;
|
||||
resourcefiles.Free;
|
||||
@ -682,7 +683,6 @@ implementation
|
||||
sourcefiles.free;
|
||||
sourcefiles:=tinputfilemanager.create;
|
||||
asmdata:=TAsmData.create(realmodulename^);
|
||||
DoneDebugInfo(self);
|
||||
InitDebugInfo(self);
|
||||
_exports.free;
|
||||
_exports:=tlinkedlist.create;
|
||||
|
Loading…
Reference in New Issue
Block a user