summaryrefslogtreecommitdiffstats
path: root/Objects/funcobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-20 16:58:19 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-20 16:58:19 (GMT)
commite9c6bcd81381516f252be79ac71e61034a8d0c4e (patch)
tree8e09770da782fc0ec92f7278e30e03a8543e61b2 /Objects/funcobject.c
parent40b261966accee191ff9865e618789dc304bd7e1 (diff)
downloadcpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.zip
cpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.tar.gz
cpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.tar.bz2
fix leak in func_dealloc (forgot to decref name)
Diffstat (limited to 'Objects/funcobject.c')
-rw-r--r--Objects/funcobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/funcobject.c b/Objects/funcobject.c
index e2ba2a9..dcceb72 100644
--- a/Objects/funcobject.c
+++ b/Objects/funcobject.c
@@ -154,6 +154,7 @@ func_dealloc(op)
{
DECREF(op->func_code);
DECREF(op->func_globals);
+ DECREF(op->func_name);
XDECREF(op->func_argdefs);
XDECREF(op->func_doc);
DEL(op);