1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
*** old/smartmem.C Thu May 25 00:39:35 1995 --- smartmem.C Mon Jul 12 15:28:20 1999 *************** *** 64,70 **** --- 64,74 ---- void SmartMemory::free(void* ptr, unsigned size) { if(ptr) { + #ifdef __FreeBSD__ + ::free(ptr); + #else ::cfree(ptr); + #endif totalBytes_Allocated -= size; } }