[Tux4kids-commits] r894 - tuxmath/trunk/src

tholy-guest at alioth.debian.org tholy-guest at alioth.debian.org
Tue Feb 17 14:12:47 UTC 2009


Author: tholy-guest
Date: 2009-02-17 14:12:47 +0000 (Tue, 17 Feb 2009)
New Revision: 894

Modified:
   tuxmath/trunk/src/titlescreen.c
Log:
Fix small memory leaks. (Will not fix any known bugs.)


Modified: tuxmath/trunk/src/titlescreen.c
===================================================================
--- tuxmath/trunk/src/titlescreen.c	2009-02-17 13:29:03 UTC (rev 893)
+++ tuxmath/trunk/src/titlescreen.c	2009-02-17 14:12:47 UTC (rev 894)
@@ -2102,7 +2102,10 @@
   free(menu_item_selected);
   free(menu_text_rect);
   free(menu_button_rect);
+  free(back_text_rect);
+  free(back_button_rect);
   free(menu_sprite_rect);
+  free(back_sprite_rect);
 
   /* Return the value of the chosen item (-1 indicates escape) */
   if (stop == 2)




More information about the Tux4kids-commits mailing list