gnome-games r8116 - branches/gnome-2-24/gnomine



Author: thomashpa
Date: Mon Oct 20 15:57:55 2008
New Revision: 8116
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8116&view=rev

Log:
fix memleak

Modified:
   branches/gnome-2-24/gnomine/minefield.c

Modified: branches/gnome-2-24/gnomine/minefield.c
==============================================================================
--- branches/gnome-2-24/gnomine/minefield.c	(original)
+++ branches/gnome-2-24/gnomine/minefield.c	Mon Oct 20 15:57:55 2008
@@ -244,6 +244,12 @@
     gtk_widget_show (warning_dialog);
   }
 
+  g_free(flagfile);
+  g_free(minefile);
+  g_free(questionfile);
+  g_free(bangfile);
+  g_free(warningfile);
+
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]