--- 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);
}