Fix matching errors

This commit is contained in:
Léo Lam
2020-11-10 21:40:33 +01:00
parent 7e7a76f926
commit 93b1b17979
7 changed files with 12 additions and 11 deletions
@@ -69,7 +69,7 @@ ResourceMgrTask::~ResourceMgrTask() {
}
util::safeDeleteArray(mCompactedHeapMainBuffer2);
util::safeDeleteArray(mOffsetReadBuf);
util::safeDelete(mOffsetReadBuf);
mExtensions2.freeBuffer();
mExtensions1.freeBuffer();
@@ -547,7 +547,7 @@ ResourceUnit* ResourceMgrTask::clearCachesAndGetUnit(const GetUnitArg& arg) {
++it;
}
unit = mUnitPool.tryAlloc();
unit = mUnitPool.alloc();
}
if (!unit->init(*arg.unit_init_arg))