<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - IOHIDDeviceClass::setElementDictIntValue() leaks memory"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111561#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - IOHIDDeviceClass::setElementDictIntValue() leaks memory"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=111561">bug 111561</a>
from <span class="vcard"><a class="email" href="mailto:iplaw67@tuta.io" title="Alex Thurgood <iplaw67@tuta.io>"> <span class="fn">Alex Thurgood</span></a>
</span></b>
<pre>From
<a href="https://github.com/st3fan/osx-10.9/blob/master/IOHIDFamily-503.1.13/IOHIDLib/IOHIDDeviceClass.cpp">https://github.com/st3fan/osx-10.9/blob/master/IOHIDFamily-503.1.13/IOHIDLib/IOHIDDeviceClass.cpp</a>
it appears to be this section of code:
void IOHIDDeviceClass::setElementDictIntValue(CFMutableDictionaryRef element,
CFStringRef key, uint32_t value)
{
CFNumberRef number = CFNumberCreate(kCFAllocatorDefault, kCFNumberIntType,
&value);
if ( !number )
return;
CFDictionarySetValue(element, key, number);
CFRelease(number);
}</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>