diff options
author | Guido van Rossum <guido@python.org> | 1995-01-20 16:56:41 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-20 16:56:41 (GMT) |
commit | 3952cb0725d4c4d70bab959689a591a436a0c25c (patch) | |
tree | 4b2abfe19e59580ddc66334f88f159c38b078f64 /Python/compile.c | |
parent | d1b9393ba5e6dc24d147235c3a78f54bf5ef4a52 (diff) | |
download | cpython-3952cb0725d4c4d70bab959689a591a436a0c25c.zip cpython-3952cb0725d4c4d70bab959689a591a436a0c25c.tar.gz cpython-3952cb0725d4c4d70bab959689a591a436a0c25c.tar.bz2 |
fix mem leak (localmap in optimize)
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/compile.c b/Python/compile.c index 07c514c..93d5b6d 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -2593,6 +2593,7 @@ optimize(c) cur_instr[1] = i & 0xff; cur_instr[2] = (i>>8) & 0xff; fast_reserved = 1; + DECREF(localmap); continue; } if (!fast_reserved) |