[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:
Lang Hames 2015-07-28 20:51:53 +00:00
parent 1e8077f10c
commit 86eea13bdb

View File

@ -277,7 +277,7 @@ static int printLineInfoForInput(bool LoadObjects, bool UseDebugObj) {
if (UseDebugObj) {
DebugObj = LoadedObjInfo->getObjectForDebug(Obj);
SymbolObj = DebugObj.getBinary();
LoadedObjInfo.release();
LoadedObjInfo.reset();
}
}