| 118 | } |
| 119 | |
| 120 | STDMETHODIMP_(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 |
no test coverage detected