mirror of https://github.com/python/cpython
fix mem leak (localmap in optimize)
This commit is contained in:
parent
d1b9393ba5
commit
3952cb0725
|
@ -2593,6 +2593,7 @@ optimize(c)
|
||||||
cur_instr[1] = i & 0xff;
|
cur_instr[1] = i & 0xff;
|
||||||
cur_instr[2] = (i>>8) & 0xff;
|
cur_instr[2] = (i>>8) & 0xff;
|
||||||
fast_reserved = 1;
|
fast_reserved = 1;
|
||||||
|
DECREF(localmap);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (!fast_reserved)
|
if (!fast_reserved)
|
||||||
|
|
Loading…
Reference in New Issue