e51bf28
--- apricots/apricots.cpp	2008-08-26 12:38:27.000000000 -0500
e51bf28
+++ apricots/apricots.cpp	2008-08-26 12:38:27.000000000 -0500
e51bf28
@@ -16,6 +16,7 @@
e51bf28
 int main(int, char**){
e51bf28
 #endif
e51bf28
 
e51bf28
+atexit(SDL_Quit);
e51bf28
   // Initialize data
e51bf28
   gamedata g;
e51bf28
   init_data(g);