MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / FreeArrayMemory

Function FreeArrayMemory

extra/yassl/taocrypt/mySTL/helpers.hpp:125–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

123
124template <typename T>
125void FreeArrayMemory(T* ptr)
126{
127 unsigned char* p = reinterpret_cast<unsigned char*>(ptr);
128
129 #ifdef YASSL_LIB
130 yaSSL::ysArrayDelete(p);
131 #else
132 TaoCrypt::tcArrayDelete(p);
133 #endif
134}
135
136
137

Callers 2

~vector_baseMethod · 0.85
FreeMemoryFunction · 0.85

Calls 2

ysArrayDeleteFunction · 0.85
tcArrayDeleteFunction · 0.85

Tested by

no test coverage detected