file-bmp: don't close foreign FD in ReadImage()
This commit is contained in:
@ -918,7 +918,6 @@ ReadImage (FILE *fd,
|
||||
break;
|
||||
}
|
||||
|
||||
fclose (fd);
|
||||
if (bpp <= 8)
|
||||
for (i = 0, j = 0; i < ncols; i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user