Plugins/Displays/MusicVideo/GrowlMusicVideoWindowView.m
changeset 4259 0e9b6b0b1e25
parent 4246 4f52d1d98978
child 4541 9a290d3de636
     1.1 --- a/Plugins/Displays/MusicVideo/GrowlMusicVideoWindowView.m	Tue Jul 07 11:42:50 2009 -0400
     1.2 +++ b/Plugins/Displays/MusicVideo/GrowlMusicVideoWindowView.m	Sat Aug 01 20:43:39 2009 -0400
     1.3 @@ -199,6 +199,8 @@
     1.4  	NSData *data = nil;
     1.5  
     1.6  	READ_GROWL_PREF_VALUE(key, GrowlMusicVideoPrefDomain, 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
    1.12 @@ -209,6 +211,8 @@
    1.13  
    1.14  	[textColor release];
    1.15  	READ_GROWL_PREF_VALUE(textKey, GrowlMusicVideoPrefDomain, NSData *, &data);
    1.16 +	if(data)
    1.17 +		CFMakeCollectable(data);
    1.18  	if (data && [data isKindOfClass:NSDataClass])
    1.19  		textColor = [NSUnarchiver unarchiveObjectWithData:data];
    1.20  	else