Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/iphone
diff options
context:
space:
mode:
authorKirill Zhdanovich <kzhdanovich@gmail.com>2013-07-04 01:10:31 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:57:53 +0300
commit0565f3435ed04766cc316de648e735c3e4deb359 (patch)
treeee879fee00e8d51a6c9f253acd46a7bc1636bf58 /iphone
parent6bbd9a3639be95579e4f9ddab77569db477f3746 (diff)
[iOS] memory management fix
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Classes/PlacePreviewViewController.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm
index d8c4ec452d..f079e2e07c 100644
--- a/iphone/Maps/Classes/PlacePreviewViewController.mm
+++ b/iphone/Maps/Classes/PlacePreviewViewController.mm
@@ -140,7 +140,7 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
{
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:@"ApiReturnCell"] autorelease];
cell.textLabel.textAlignment = NSTextAlignmentCenter;
- UIButton * tmp = [[UIButton buttonWithType:UIButtonTypeRoundedRect] autorelease];
+ UIButton * tmp = [UIButton buttonWithType:UIButtonTypeRoundedRect];
[tmp setTitle:@"tmp" forState:UIControlStateNormal];
cell.textLabel.font = tmp.titleLabel.font;
cell.textLabel.textColor = tmp.titleLabel.textColor;