Commit 6ece606d authored by David Fuhrmann's avatar David Fuhrmann

macosx: Fix leak in SPMediaKeyTap.m

parent d959b2ab
......@@ -291,7 +291,7 @@ NSString *kIgnoreMediaKeysDefaultsKey = @"SPIgnoreMediaKeys";
{
NSValue *psnv = [NSValue valueWithBytes:&psn objCType:@encode(ProcessSerialNumber)];
NSDictionary *processInfo = (__bridge NSDictionary *)ProcessInformationCopyDictionary(
NSDictionary *processInfo = (__bridge_transfer NSDictionary *)ProcessInformationCopyDictionary(
&psn,
kProcessDictionaryIncludeAllInformationMask
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment