diff options
-rw-r--r-- | apple_remote/source/RemoteMainController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apple_remote/source/RemoteMainController.m b/apple_remote/source/RemoteMainController.m index 1972c5fc523f..79af22fd9f3e 100644 --- a/apple_remote/source/RemoteMainController.m +++ b/apple_remote/source/RemoteMainController.m @@ -155,9 +155,9 @@ } - (void) dealloc { - [remoteControl autorelease]; - [remoteControlBehavior autorelease]; - [super dealloc]; + [ remoteControl release ]; remoteControl = nil; + [ remoteControlBehavior release ]; remoteControlBehavior = nil; + [super dealloc]; } // for bindings access |