diff options
| author | Vadim Shpakovski | 2012-09-22 09:54:37 +0300 | 
|---|---|---|
| committer | Vadim Shpakovski | 2012-09-22 09:54:37 +0300 | 
| commit | 344e3e19991052eb1b47a504f6fccbcab471a23e (patch) | |
| tree | 4f105350d46cdb14af7da15ab3dd9daa9b30293f | |
| parent | fe750267fb4942e91a106e136aadb110c4a0b8e4 (diff) | |
| download | MASShortcut-344e3e19991052eb1b47a504f6fccbcab471a23e.tar.bz2 | |
Fixes memory leaks.
| -rw-r--r-- | MASShortcut+Monitoring.m | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/MASShortcut+Monitoring.m b/MASShortcut+Monitoring.m index 51787c2..4e6d82b 100644 --- a/MASShortcut+Monitoring.m +++ b/MASShortcut+Monitoring.m @@ -67,6 +67,8 @@ void InstallHotkeyWithShortcut(MASShortcut *shortcut, UInt32 *outCarbonHotKeyID,  - (void)dealloc  {      [self uninstallExisitingHotKey]; +    [_shortcut release]; +    [_handler release];      [super dealloc];  } | 
