Show
Ignore:
Timestamp:
05/06/09 21:15:50 (3 years ago)
Author:
gbooker
Message:

Leak fixes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/Players/SapphireMedia.m

    r827 r838  
    9191         
    9292        if (coverart) 
    93                 return [SapphireFrontRowCompat coverartAsImage:[coverart asImageRef]]; 
     93        { 
     94                CGImageRef imageRef = [coverart newImageRef]; 
     95                id ret = [SapphireFrontRowCompat coverartAsImage:imageRef]; 
     96                CFRelease(imageRef); 
     97                return ret; 
     98        } 
    9499 
    95100        return nil;