Core/Source/GrowlApplicationTicket.m
changeset 4261 48b7c994f6c8
parent 4246 4f52d1d98978
child 4489 9c0b9f927d0e
     1.1 --- a/Core/Source/GrowlApplicationTicket.m	Tue Jul 07 11:42:50 2009 -0400
     1.2 +++ b/Core/Source/GrowlApplicationTicket.m	Sat Aug 01 20:50:32 2009 -0400
     1.3 @@ -592,6 +592,8 @@
     1.4  			CFURLRef url = (CFURLRef)createFileURLWithDockDescription(file_data);
     1.5  			if (url) {
     1.6  				fullPath = [(NSString *)CFURLCopyPath(url) autorelease];
     1.7 +				if(fullPath)
     1.8 +					CFMakeCollectable(fullPath);		
     1.9  				CFRelease(url);
    1.10  			}
    1.11  		} else if ([location isKindOfClass:[NSString class]]) {
    1.12 @@ -613,6 +615,8 @@
    1.13  													&appURL);
    1.14  			if (err == noErr) {
    1.15  				fullPath = [(NSString *)CFURLCopyPath(appURL) autorelease];
    1.16 +				if(fullPath)
    1.17 +					CFMakeCollectable(fullPath);		
    1.18  				CFRelease(appURL);
    1.19  			}
    1.20  		}