1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 18:42:46 +02:00

Fix memleak for 5de2d189e6ad4

Fix typo `release` -> `reset`
This commit is contained in:
Yuanfang Chen 2021-03-01 16:49:26 -08:00
parent afa87767f4
commit 79ed2f070a

View File

@ -96,7 +96,7 @@ void MCContext::initInlineSourceManager() {
void MCContext::reset() {
SrcMgr = nullptr;
InlineSrcMgr.release();
InlineSrcMgr.reset();
LocInfos.clear();
DiagHandler = defaultDiagHandler;