mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Get rid of REALLOC(), REALLOCFLAGS(), and CALLOC()
This commit is contained in:
@ -245,7 +245,7 @@ void TBuffer<T>::Set (const T * source, unsigned count) {
|
||||
template<class T>
|
||||
void TBuffer<T>::SetBytes (unsigned bytes) {
|
||||
if (bytes)
|
||||
m_data = (T *)REALLOCFLAGS(m_data, bytes, ARR_MEMORY_FLAGS);
|
||||
m_data = (T *)realloc(m_data, bytes);
|
||||
else if (m_data) {
|
||||
free(m_data);
|
||||
m_data = nil;
|
||||
|
Reference in New Issue
Block a user