Permalink
Browse files

Fixed a memory leak in IIWrapController.

Closes #322.
  • Loading branch information...
Inferis committed Apr 3, 2013
1 parent 98292b8 commit 0077b25f27382db5d8d5bcb13d435ba7328b6ea6
Showing with 1 addition and 1 deletion.
  1. +1 −1 ViewDeck/IIWrapController.m
@@ -118,8 +118,8 @@ - (void)dealloc {
if ([_wrappedController respondsToSelector:@selector(didMoveToParentViewController:)])
[_wrappedController didMoveToParentViewController:nil];
- _wrappedController = nil;
II_RELEASE(_wrappedController);
+ _wrappedController = nil;
#if !II_ARC_ENABLED
[super dealloc];

0 comments on commit 0077b25

Please sign in to comment.