diff options
author | Guido van Rossum <guido@python.org> | 1995-01-20 16:58:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-20 16:58:19 (GMT) |
commit | e9c6bcd81381516f252be79ac71e61034a8d0c4e (patch) | |
tree | 8e09770da782fc0ec92f7278e30e03a8543e61b2 /Objects | |
parent | 40b261966accee191ff9865e618789dc304bd7e1 (diff) | |
download | cpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.zip cpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.tar.gz cpython-e9c6bcd81381516f252be79ac71e61034a8d0c4e.tar.bz2 |
fix leak in func_dealloc (forgot to decref name)
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/funcobject.c | 1 |
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); |