1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00

Close file descriptor in test main().

Some static analyzers are complaining about it.
This commit is contained in:
Tim Kosse 2015-08-11 11:30:13 +02:00 committed by Simon Tatham
parent a6bd42ca24
commit f3f215423b

View File

@ -1366,6 +1366,7 @@ int main(int argc, char **argv)
sfree(outbuf);
} else {
fprintf(stderr, "decoding error\n");
fclose(fp);
return 1;
}
}