| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1 @@ | |||
| 1 | + Fix a possible fd leak in ``Programs/_freeze_module.c`` introduced in Python 3.11. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -194,6 +194,7 @@ write_frozen(const char *outpath, const char *inpath, const char *name, | |||
| 194 | 194 | ||
| 195 | 195 | if (ferror(outfile)) { | |
| 196 | 196 | fprintf(stderr, "error when writing to '%s'\n", outpath); | |
| 197 | + fclose(outfile); | ||
| 197 | 198 | return -1; | |
| 198 | 199 | } | |
| 199 | 200 | fclose(outfile); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments