Show
Ignore:
Timestamp:
01/09/09 15:46:53 (3 years ago)
Author:
gbooker
Message:

Ran a static analysis. Corrected many leaks, unused assignments, and missing assignments.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/CoreData/SapphireFrappliance/FRAppliance/SapphireApplianceController.m

    r734 r739  
    254254 
    255255 
    256 + (NSManagedObjectContext *)createManagedObjectContextForFile:(NSString *)storeFile 
     256+ (NSManagedObjectContext *)newManagedObjectContextForFile:(NSString *)storeFile 
    257257{ 
    258258        if(storeFile == nil) 
     
    297297        [theme setScene:[self scene]]; 
    298298         
    299         moc = [SapphireApplianceController createManagedObjectContextForFile:nil]; 
     299        moc = [SapphireApplianceController newManagedObjectContextForFile:nil]; 
    300300        if(moc == nil) 
    301301        { 
     
    485485                        BRDVDMediaAsset *asset = [BRDVDMediaAsset assetFromDiskInfo:dvdInfo]; 
    486486                        controller = [[SapphireDVDLoadingController alloc] initWithScene:[self scene] forAsset:asset]; 
    487                         [controller retain]; 
    488487                } 
    489488                else