project_files/HedgewarsMobile/Classes/LevelViewController.m
changeset 3971 5c82ee165ed5
parent 3923 694e6f6e0e30
child 4149 51200479f9d8
--- a/project_files/HedgewarsMobile/Classes/LevelViewController.m	Mon Oct 11 16:56:00 2010 -0400
+++ b/project_files/HedgewarsMobile/Classes/LevelViewController.m	Tue Oct 12 05:06:30 2010 +0200
@@ -184,9 +184,9 @@
 #pragma mark -
 #pragma mark Memory management
 -(void) didReceiveMemoryWarning {
-    // Releases the view if it doesn't have a superview.
+    self.lastIndexPath = nil;
+    MSG_MEMCLEAN();
     [super didReceiveMemoryWarning];
-    // Relinquish ownership any cached data, images, etc that aren't in use.
 }
 
 -(void) viewDidUnload {