mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-87092: fix refleak in peepholer test harness (#103448)
This commit is contained in:
parent
ebc8103427
commit
9db2db4fa4
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue