Might as well close the source if you aren't going to use it.

CQTexperiment
vspader 2007-03-04 04:37:36 +00:00
parent eb96a75a1f
commit 5798532fed
1 changed files with 2 additions and 0 deletions

View File

@ -46,6 +46,8 @@
NSURL *url = [source url];
if (![[url scheme] isEqualToString:@"file"])
return NO;
[source close]; //There's no room for your kind around here!
// Open the input file
err = FSPathMakeRef((const UInt8 *)[[url path] UTF8String], &ref, NULL);