Skip to content

Commit

Permalink
Update NSInputStream+POS.m
Browse files Browse the repository at this point in the history
Fixed memory leaks
  • Loading branch information
vmihaylenko committed Aug 15, 2014
1 parent f7ded06 commit af71d05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion POSInputStreamLibraryExtension/NSInputStream+POS.m
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
@implementation NSInputStream (POS)

+ (NSInputStream *) pos_inputStreamWithFilePath:(NSString*) filePath {
return [NSInputStream pos_inputStreamWithFileAtPath:filePath asynchronous:NO];
return [NSInputStream pos_inputStreamWithFileAtPath:filePath asynchronous:YES];
}

+ (NSInputStream *) pos_inputStreamWithFileAtPath:(NSString*) filePath asynchronous:(BOOL) asynchronous {
Expand Down

0 comments on commit af71d05

Please sign in to comment.