Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In imgInit() of sqUnixMain.c - preserve fd instead of throwing it away - use fileno() to get the file descriptor (fd) created by fopen() instead of opening the file again with open() (which leaked a file descriptor due to lack of close()) - pass the file descriptor fd instead of the FILE* f to the recently changed methods expecting a file descriptor, e.g. readImageFromFileHeapSizeStartingAt()
- Loading branch information