fix mem leak (localmap in optimize)

This commit is contained in:
Guido van Rossum 1995-01-20 16:56:41 +00:00
parent d1b9393ba5
commit 3952cb0725
1 changed files with 1 additions and 0 deletions

View File

@ -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)