This commit is contained in:
2021-09-03 17:47:32 +02:00
parent 15343c3b18
commit 74b55c2d5c

View File

@ -3739,7 +3739,9 @@ int program_fpga(int file_des) {
} }
Server_SendResult(file_des, INT32, NULL, 0); Server_SendResult(file_des, INT32, NULL, 0);
if (ret == FAIL) { if (ret == FAIL) {
if (fd != NULL) {
fclose(fd); fclose(fd);
}
return FAIL; return FAIL;
} }