Esempio n. 1
0
void SimpleString::deallocStringBuffer(char* str, const char* file, int line)
{
    getStringAllocator()->free_memory(str, file, line);
}
Esempio n. 2
0
void SimpleString::deallocStringBuffer(char* str)
{
    getStringAllocator()->free_memory(str, __FILE__, __LINE__);
}
Esempio n. 3
0
/* Avoid using the memory leak detector INSIDE SimpleString as its used inside the detector */
char* SimpleString::allocStringBuffer(size_t _size, const char* file, int line)
{
    return getStringAllocator()->alloc_memory(_size, file, line);
}
Esempio n. 4
0
/* Avoid using the memory leak detector INSIDE SimpleString as its used inside the detector */
char* SimpleString::allocStringBuffer(size_t _size)
{
    return getStringAllocator()->alloc_memory(_size, __FILE__, __LINE__);
}