summaryrefslogtreecommitdiffstats
path: root/Python/marshal.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1996-05-28 22:28:12 (GMT)
committerGuido van Rossum <guido@python.org>1996-05-28 22:28:12 (GMT)
commit0a8626eb889a05cd9f30a142a576800a83f525dc (patch)
tree0db6c7776fea34551d68dc9ba768777a88752125 /Python/marshal.c
parent9a97d6ce537f4b0bd194eca659b39c1a8b47ff3b (diff)
downloadcpython-0a8626eb889a05cd9f30a142a576800a83f525dc.zip
cpython-0a8626eb889a05cd9f30a142a576800a83f525dc.tar.gz
cpython-0a8626eb889a05cd9f30a142a576800a83f525dc.tar.bz2
Plug memory leak (variable names in code objects were being leaked!)
Diffstat (limited to 'Python/marshal.c')
-rw-r--r--Python/marshal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/marshal.c b/Python/marshal.c
index f3d7b5c..916faa7 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -468,6 +468,7 @@ r_object(p)
XDECREF(code);
XDECREF(consts);
XDECREF(names);
+ XDECREF(varnames);
XDECREF(filename);
XDECREF(name);