| 172 | } |
| 173 | |
| 174 | template<typename T> void UnlockObject(const T &t) { |
| 175 | OPENSSL_cleanse((void*)(&t), sizeof(T)); |
| 176 | LockedPageManager::Instance().UnlockRange((void*)(&t), sizeof(T)); |
| 177 | } |
| 178 | |
| 179 | // |
| 180 | // Allocator that locks its contents from being paged |
no test coverage detected