Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a8626e

Browse files
committed
Plug memory leak (variable names in code objects were being leaked!)
1 parent 9a97d6c commit 0a8626e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Python/marshal.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,6 +468,7 @@ r_object(p)
468468
XDECREF(code);
469469
XDECREF(consts);
470470
XDECREF(names);
471+
XDECREF(varnames);
471472
XDECREF(filename);
472473
XDECREF(name);
473474

0 commit comments

Comments
 (0)