diff options
author | Irit Katriel <1055913+iritkatriel@users.noreply.github.com> | 2023-04-11 21:08:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 21:08:29 +0100 |
commit | 9db2db4fa4bc2a955170f727fde68ff4a4de3080 (patch) | |
tree | e4b4f5cf3b0bbf286deaa05ac21c54d163a2be69 /Python/compile.c | |
parent | ebc81034278ea186b4110c7dbf6d1c2a0ada9398 (diff) | |
download | cpython-9db2db4fa4bc2a955170f727fde68ff4a4de3080.tar.gz cpython-9db2db4fa4bc2a955170f727fde68ff4a4de3080.zip |
gh-87092: fix refleak in peepholer test harness (#103448)
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Python/compile.c b/Python/compile.c index 15fca8296c6..3e152060d2f 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -7148,10 +7148,6 @@ _PyCompile_OptimizeCfg(PyObject *instructions, PyObject *consts) } cfg_builder g; - memset(&g, 0, sizeof(cfg_builder)); - if (_PyCfgBuilder_Init(&g) < 0) { - goto error; - } if (instructions_to_cfg(instructions, &g) < 0) { goto error; } |