Add memory leak checks

This commit is contained in:
Ron Pedde
2003-11-23 06:10:25 +00:00
parent 938d54b055
commit 41746a0326
4 changed files with 253 additions and 11 deletions

View File

@@ -349,9 +349,13 @@ int main(int argc, char *argv[]) {
rend_init(&rendezvous_pid,config.servername, config.port);
while(1) {
sleep(20);
sleep(100);
}
#ifdef DEBUG
err_leakcheck();
#endif
return EXIT_SUCCESS;
}