Plugins/Displays/SMS/GrowlSMSDisplay.m
changeset 4259 0e9b6b0b1e25
parent 4246 4f52d1d98978
child 4666 59b81a267426
child 4819 2e39ce17d1ea
     1.1 --- a/Plugins/Displays/SMS/GrowlSMSDisplay.m	Tue Jul 07 11:42:50 2009 -0400
     1.2 +++ b/Plugins/Displays/SMS/GrowlSMSDisplay.m	Sat Aug 01 20:43:39 2009 -0400
     1.3 @@ -53,10 +53,16 @@
     1.4  	NSString	*destinationNumberValue = nil;
     1.5  
     1.6  	READ_GROWL_PREF_VALUE(destinationNumberKey, GrowlSMSPrefDomain, NSString *, &destinationNumberValue);
     1.7 +	if(destinationNumberValue)
     1.8 +		CFMakeCollectable(destinationNumberValue);
     1.9  	[destinationNumberValue autorelease];
    1.10  	READ_GROWL_PREF_VALUE(accountAPIIDKey, GrowlSMSPrefDomain, NSString *, &apiIDValue);
    1.11 +	if(apiIDValue)
    1.12 +		CFMakeCollectable(apiIDValue);
    1.13  	[apiIDValue autorelease];
    1.14  	READ_GROWL_PREF_VALUE(accountNameKey, GrowlSMSPrefDomain, NSString *, &accountNameValue);
    1.15 +	if(accountNameValue)
    1.16 +		CFMakeCollectable(accountNameValue);
    1.17  	[accountNameValue autorelease];
    1.18  
    1.19  	if (!([destinationNumberValue length] && [apiIDValue length] && [accountNameValue length])) {