freebsd-ports/audio/mxv/files/patch-ah
Michael Haro 8dac833ab2 update to 1.20
PR:		12624
Submitted by:	Jason Brazile <jason.brazile@netcetera.ch>
2000-02-14 21:03:05 +00:00

17 lines
314 B
Plaintext

*** 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;
}
}