MCPcopy Create free account
hub / github.com/beefytech/Beef / RemoveAllocEntry

Function RemoveAllocEntry

IDEHelper/DebugManager.cpp:207–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

205}
206
207static void RemoveAllocEntry(long lRequest)
208{
209 auto itr = gBfCaptureSourceAllocMap.find(lRequest);
210 if (itr != gBfCaptureSourceAllocMap.end())
211 {
212 CaptureAllocEntry* entry = &itr->second;
213
214 entry->mLoc->mTotalSize -= entry->mAllocSize;
215 gBfCaptureSourceAllocMap.erase(itr);
216 }
217}
218
219//const LOC_HASHES
220

Callers 1

BfAllocHookFunction · 0.85

Calls 3

findMethod · 0.80
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected