1.1 --- a/Common/Source/GrowlPathUtilities.m Sat Aug 01 20:51:06 2009 -0400
1.2 +++ b/Common/Source/GrowlPathUtilities.m Sat Aug 01 20:51:35 2009 -0400
1.3 @@ -42,8 +42,9 @@
1.4 if (info.processLaunchDate < oldestProcessLaunchDate) {
1.5 //This one is older (fewer ticks since startup), so this is our current prospect to be the result.
1.6 NSDictionary *dict = (NSDictionary *)ProcessInformationCopyDictionary(&psn, kProcessDictionaryIncludeAllInformationMask);
1.7 -
1.8 +
1.9 if (dict) {
1.10 + CFMakeCollectable(dict);
1.11 pid_t pid = 0;
1.12 GetProcessPID(&psn, &pid);
1.13 if ([[dict objectForKey:(NSString *)kCFBundleIdentifierKey] isEqualToString:identifier]) {