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>
This commit is contained in:
Richard Cochran 2012-08-27 21:11:14 +02:00
parent 40dc2e13ef
commit afbec38d6e

View File

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