project_files/HedgewarsMobile/Classes/InGameMenuViewController.m
changeset 5483 fc755bb8096d
parent 5208 878e551f0b4a
child 5662 99083392cd4f
--- a/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Sat Jul 30 17:23:47 2011 -0400
+++ b/project_files/HedgewarsMobile/Classes/InGameMenuViewController.m	Sun Jul 31 16:03:24 2011 +0200
@@ -257,7 +257,8 @@
         image = [[UIImage alloc] initWithCGImage:imageRef];
     CGImageRelease(imageRef);
 
-    UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (void *)alert); // add callback for finish saving
+    // add callback for cleaning memory and removing alert
+    UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:contextInfo:), (void *)alert);
 }