Free all the created cursors in test/testcursor.c. SDL-1.2
authorRyan C. Gordon <icculus@icculus.org>
Tue, 13 Feb 2007 09:20:37 +0000
branchSDL-1.2
changeset 3912 e7d2858670c1
parent 3911 ba3abfa20e18
child 3913 9e454eb693a5
Free all the created cursors in test/testcursor.c.
test/testcursor.c
--- a/test/testcursor.c	Mon Feb 12 11:45:18 2007 +0000
+++ b/test/testcursor.c	Tue Feb 13 09:20:37 2007 +0000
@@ -209,6 +209,7 @@
 
 	SDL_FreeCursor(cursor[0]);
 	SDL_FreeCursor(cursor[1]);
+	SDL_FreeCursor(cursor[2]);
 
 	SDL_Quit();
 	return(0);