cocoaTouch/SchemeSettingsViewController.m
changeset 3490 016b3172b645
parent 3479 972ae3ec178a
--- a/cocoaTouch/SchemeSettingsViewController.m	Tue Jun 01 19:33:45 2010 +0000
+++ b/cocoaTouch/SchemeSettingsViewController.m	Wed Jun 02 13:52:23 2010 +0000
@@ -139,11 +139,15 @@
 #pragma mark Memory management
 -(void)didReceiveMemoryWarning {
     [super didReceiveMemoryWarning];
+    if (childController.view.superview == nil )
+        childController = nil;
 }
 
 -(void) viewDidUnload {
     self.listOfSchemes = nil;
     childController = nil;
+    [super viewDidUnload];
+    MSG_DIDUNLOAD();
 }