diff options
-rw-r--r-- | DomeKey/HeadphoneKey.m | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/DomeKey/HeadphoneKey.m b/DomeKey/HeadphoneKey.m index 1556427..ef90560 100644 --- a/DomeKey/HeadphoneKey.m +++ b/DomeKey/HeadphoneKey.m @@ -30,6 +30,11 @@ return self; } +- (void)dealloc +{ + state_free(_state); +} + - (void)ddhidAppleMikey:(DDHidAppleMikey *)mikey press:(unsigned)usageId upOrDown:(BOOL)upOrDown |