summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/Src/ControllerInterface/OSX
diff options
context:
space:
mode:
authorMatthew Parlane <parlane@gmail.com>2013-03-01 19:21:34 +1300
committerMatthew Parlane <parlane@gmail.com>2013-03-01 19:21:34 +1300
commit99cf57eb393e61bc0a9072a6e4f4f21c57daea9d (patch)
tree6edeb32ae5e7d00ea07d478f8d5b5879cf5d0e42 /Source/Core/InputCommon/Src/ControllerInterface/OSX
parent5c4a130688b22459662d15f11324b93fa9382eb9 (diff)
Fixes two memory leaks, one is pretty bad for OSX.
Yell at pauldachz if this doesn't work. Or... say thanks.
Diffstat (limited to 'Source/Core/InputCommon/Src/ControllerInterface/OSX')
-rw-r--r--Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
index 56e360019a..c22e267044 100644
--- a/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
+++ b/Source/Core/InputCommon/Src/ControllerInterface/OSX/OSXKeyboard.mm
@@ -69,6 +69,7 @@ bool Keyboard::UpdateInput()
CGRectMakeWithDictionaryRepresentation(boundsDictionary, &bounds);
}
+ CFRelease(windowDescriptions);
CFRelease(windowArray);
CGEventRef event = CGEventCreate(nil);