destroy.cc (216B)
1 #include "netbuffer" 2 3 void Netbuffer::destroy() { 4 if (buf_alloced) 5 debugmsg("Netbuffer: destroying " << buf_alloced << " bytes\n"); 6 free(buf_data); 7 buf_data = 0; 8 buf_sz = 0; 9 buf_alloced = 0; 10 }
crossroadsGit mirror of https://crossroads.e-tunity.com/ | |
| git clone git://git.finwo.net/app/crossroads | |
| Log | Files | Refs | LICENSE |