projects
/
enjoyable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16a7c0a
)
Fix memory leak.
author
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 28 Feb 2013 19:33:46 +0000
(20:33 +0100)
committer
Joe Wreschnig
<joe.wreschnig@gmail.com>
Thu, 28 Feb 2013 19:33:46 +0000
(20:33 +0100)
Joystick.m
patch
|
blob
|
history
diff --git
a/Joystick.m
b/Joystick.m
index e729edb987a31ae5ba0ce7da0df439c1c58b7bd1..ae278b30b3094527adaee68d0efa9ba818df55be 100644
(file)
--- a/
Joystick.m
+++ b/
Joystick.m
@@
-55,6
+55,8
@@
static NSArray *ActionsForElement(IOHIDDeviceRef device, id base) {
action.cookie = IOHIDElementGetCookie(element);
[children addObject:action];
}
+
+ CFRelease(elements);
return children;
}