Browse files

Fix memory leaks, remove dead code.

  • Loading branch information...
1 parent f69e9e7 commit b9a87607919320cc5962a6cf5e90b7fb1a823c78 @jinie jinie committed with mkrautz Mar 22, 2012
View
2 Source/Classes/MUAccessTokenViewController.m
@@ -210,7 +210,7 @@ - (void) textFieldDidChange:(UITextField *)sender {
- (void) textFieldDidEndOnExit:(UITextField *)sender {
[sender resignFirstResponder];
- [_tokens replaceObjectAtIndex:_editingRow withObject:[_tokenValue copy]];
+ [_tokens replaceObjectAtIndex:_editingRow withObject:_tokenValue];
[_tokenValue release];
_tokenValue = nil;
NSInteger row = _editingRow;
View
2 Source/Classes/MUCountryServerListController.m
@@ -88,7 +88,7 @@ - (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
self.navigationItem.titleView = nil;
- self.navigationItem.title = [_countryName copy];
+ self.navigationItem.title = _countryName;
self.navigationItem.hidesBackButton = NO;
UIBarButtonItem *searchButton = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemSearch target:self action:@selector(searchButtonClicked:)];
View
1 Source/Classes/MUMessageBubbleTableViewCell.m
@@ -159,7 +159,6 @@ + (CGSize) cellSizeForText:(NSString *)text andHeading:(NSString *)heading andFo
}
- (void) drawRect:(CGRect)rect {
- rect = self.bounds;
UIImage *balloon = nil;
UIImage *stretchableBalloon = nil;

0 comments on commit b9a8760

Please sign in to comment.