remove redundant close

This commit is contained in:
Richard Frith-Macdonald 2018-01-30 14:40:12 +00:00
parent ee8bb1fbeb
commit 92f961dbb6

View file

@ -3500,7 +3500,6 @@ getBytes(void* dst, void* src, unsigned len, unsigned limit, unsigned *pos)
if (bytes == MAP_FAILED)
{
NSWarnMLog(@"mapping failed for %@ - %@", path, [NSError _last]);
close(fd);
DESTROY(self);
self = [dataMalloc allocWithZone: NSDefaultMallocZone()];
self = [self initWithContentsOfFile: path];