Merge branch 'tb/pack-revindex-on-disk'
Fix for a topic in 'master'. * tb/pack-revindex-on-disk: pack-revindex.c: don't close unopened file descriptors
This commit is contained in:
@ -253,7 +253,8 @@ cleanup:
|
|||||||
*data_p = (const uint32_t *)data;
|
*data_p = (const uint32_t *)data;
|
||||||
}
|
}
|
||||||
|
|
||||||
close(fd);
|
if (fd >= 0)
|
||||||
|
close(fd);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user