Add missing fclose

This commit is contained in:
Raphael Assenat 2015-10-10 01:27:59 -04:00
parent dad9446e30
commit 09dd8c7df3
1 changed files with 1 additions and 0 deletions

View File

@ -121,6 +121,7 @@ int load_ihex(const char *file, unsigned char *dstbuf, int bufsize)
}
} while (!feof(fptr));
fclose(fptr);
return max_address;
err: