* 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:
Jonas Maebe 2007-12-25 23:46:30 +00:00
parent 9a614617e4
commit d740304b77

View File

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