Might as well close the source if you aren't going to use it.
This commit is contained in:
parent
eb96a75a1f
commit
5798532fed
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,8 @@
|
||||||
NSURL *url = [source url];
|
NSURL *url = [source url];
|
||||||
if (![[url scheme] isEqualToString:@"file"])
|
if (![[url scheme] isEqualToString:@"file"])
|
||||||
return NO;
|
return NO;
|
||||||
|
|
||||||
|
[source close]; //There's no room for your kind around here!
|
||||||
|
|
||||||
// Open the input file
|
// Open the input file
|
||||||
err = FSPathMakeRef((const UInt8 *)[[url path] UTF8String], &ref, NULL);
|
err = FSPathMakeRef((const UInt8 *)[[url path] UTF8String], &ref, NULL);
|
||||||
|
|
Loading…
Reference in a new issue