mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-07 14:33:15 +00:00
[RuntimeDyld] Remove a memory-leak that was introduced in r243456. Thanks to Ben
Kramer for catching this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243476 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1e8077f10c
commit
86eea13bdb
@ -277,7 +277,7 @@ static int printLineInfoForInput(bool LoadObjects, bool UseDebugObj) {
|
|||||||
if (UseDebugObj) {
|
if (UseDebugObj) {
|
||||||
DebugObj = LoadedObjInfo->getObjectForDebug(Obj);
|
DebugObj = LoadedObjInfo->getObjectForDebug(Obj);
|
||||||
SymbolObj = DebugObj.getBinary();
|
SymbolObj = DebugObj.getBinary();
|
||||||
LoadedObjInfo.release();
|
LoadedObjInfo.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user