mirror of
https://github.com/steve-m/ms2130_patcher.git
synced 2025-12-10 07:44:45 +01:00
fix double close in error case
This commit is contained in:
parent
4b42dfd36f
commit
9dcd5d9890
1 changed files with 1 additions and 0 deletions
|
|
@ -117,6 +117,7 @@ int main(int argc, char *argv[])
|
||||||
goto err;
|
goto err;
|
||||||
}
|
}
|
||||||
fclose(fp);
|
fclose(fp);
|
||||||
|
fp = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint16_t code_len = (fw[0x02] << 8) | fw[0x03];
|
uint16_t code_len = (fw[0x02] << 8) | fw[0x03];
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue