Bezel: missed that clang warning
authorRudy Richter
Sat Aug 01 20:51:06 2009 -0400 (2009-08-01)
changeset 42621e66707c1402
parent 4261 48b7c994f6c8
child 4263 680abae744d7
Bezel: missed that clang warning
Plugins/Displays/Bezel/GrowlBezelWindowView.m
     1.1 --- a/Plugins/Displays/Bezel/GrowlBezelWindowView.m	Sat Aug 01 20:50:32 2009 -0400
     1.2 +++ b/Plugins/Displays/Bezel/GrowlBezelWindowView.m	Sat Aug 01 20:51:06 2009 -0400
     1.3 @@ -261,6 +261,8 @@
     1.4  	NSData *data = nil;
     1.5  
     1.6  	READ_GROWL_PREF_VALUE(key, GrowlBezelPrefDomain, NSData *, &data);
     1.7 +	if(data)
     1.8 +		CFMakeCollectable(data);		
     1.9  	if (data && [data isKindOfClass:NSDataClass]) {
    1.10  			backgroundColor = [NSUnarchiver unarchiveObjectWithData:data];
    1.11  	} else {