MCPcopy Create free account
hub / github.com/LegacyUpdate/LegacyUpdate / Release

Method Release

LegacyUpdate/ElevationHelper.cpp:120–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120STDMETHODIMP_(ULONG) CElevationHelper::Release(void) {
121 ULONG count = InterlockedDecrement(&m_refCount);
122 if (count == 0) {
123 InterlockedDecrement(&g_serverLocks);
124 this->~CElevationHelper();
125 CoTaskMemFree(this);
126 }
127 return count;
128}
129
130#pragma mark - IElevationHelper
131

Callers 1

CreateMethod · 0.45

Calls 1

~CElevationHelperMethod · 0.95

Tested by

no test coverage detected