mirror of
https://github.com/aristocratos/btop.git
synced 2024-10-01 15:41:36 +02:00
commit
e2668c60f6
@ -37,7 +37,8 @@ CFDictionaryRef matching(int page, int usage) {
|
|||||||
nums[1] = CFNumberCreate(0, kCFNumberSInt32Type, &usage);
|
nums[1] = CFNumberCreate(0, kCFNumberSInt32Type, &usage);
|
||||||
|
|
||||||
CFDictionaryRef dict = CFDictionaryCreate(0, (const void **)keys, (const void **)nums, 2, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
|
CFDictionaryRef dict = CFDictionaryCreate(0, (const void **)keys, (const void **)nums, 2, &kCFTypeDictionaryKeyCallBacks, &kCFTypeDictionaryValueCallBacks);
|
||||||
CFRelease(keys);
|
CFRelease(keys[0]);
|
||||||
|
CFRelease(keys[1]);
|
||||||
return dict;
|
return dict;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user