Show
Ignore:
Timestamp:
06/29/09 14:37:31 (13 months ago)
Author:
tsnorri
Message:

Changed calls to CFRetain and CFRelease as per Apple's recommendation
- Fixes #209.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/Sources/BXPGSQLScriptReader.m

    r1188 r1315  
    6767        } 
    6868         
    69         NSString* pathString = (id) CFRetain ([fileURL path]); 
     69        NSString* pathString = [fileURL path]; 
    7070        const char* path = [pathString UTF8String]; 
    7171        int fd = open (path, O_RDONLY | O_SHLOCK); 
     
    8080         
    8181        //For GC. 
    82         CFRelease (pathString); 
     82        [pathString self]; 
    8383        return retval; 
    8484}