Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 86eea13

Browse files
committed
[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
1 parent 1e8077f commit 86eea13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/llvm-rtdyld/llvm-rtdyld.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ static int printLineInfoForInput(bool LoadObjects, bool UseDebugObj) {
277277
if (UseDebugObj) {
278278
DebugObj = LoadedObjInfo->getObjectForDebug(Obj);
279279
SymbolObj = DebugObj.getBinary();
280-
LoadedObjInfo.release();
280+
LoadedObjInfo.reset();
281281
}
282282
}
283283

0 commit comments

Comments
 (0)