Batch #3316 by eAthena: 0 byte-identical, 2 confirmed by peer review. - fn_08189 CGGHashMgr::`scalar deleting destructor': logic confirmed by peer review - fn_08198 CGGHashMgr::Destroy: logic confirmed by peer review Peer-reviewed-by: Yommy Reviewed-by: ragnarok-clanker Adds to the build: Source/Utility/GGHashMgr.cpp
24 lines
434 B
C++
24 lines
434 B
C++
#include "Utility/GGHashMgr.h"
|
|
|
|
// GLOBAL: gl_24843
|
|
CGGHashMgr* g_ggHashMgr = nullptr;
|
|
|
|
// OFFSET: 0x0076B7C0
|
|
// FUNCTION: fn_08189
|
|
CGGHashMgr::~CGGHashMgr() {
|
|
if (this->m_hash) {
|
|
delete this->m_hash;
|
|
this->m_hash = nullptr;
|
|
}
|
|
|
|
DeleteCriticalSection(&this->m_lock);
|
|
}
|
|
|
|
// OFFSET: 0x0076BEE0
|
|
// FUNCTION: fn_08198
|
|
void CGGHashMgr::Destroy() {
|
|
if (g_ggHashMgr) {
|
|
delete g_ggHashMgr;
|
|
g_ggHashMgr = nullptr;
|
|
}
|
|
}
|