Release all resources when quitting the main loop.

This will allow running under valgrind to detect memory leaks
and the like.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
master
Richard Cochran 2012-08-27 21:11:14 +02:00
parent 40dc2e13ef
commit afbec38d6e
1 changed files with 1 additions and 0 deletions

View File

@ -279,5 +279,6 @@ int main(int argc, char *argv[])
break; break;
} }
clock_destroy(clock);
return 0; return 0;
} }