Commit 4664c1f4 authored by Nils Philippsen's avatar Nils Philippsen

file-bmp: don't close foreign FD in ReadImage()

parent 65066ff4
......@@ -918,7 +918,6 @@ ReadImage (FILE *fd,
break;
}
fclose (fd);
if (bpp <= 8)
for (i = 0, j = 0; i < ncols; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment