aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--MASShortcut+Monitoring.m2
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];
}