summaryrefslogtreecommitdiffstats
path: root/Python/modsupport.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2005-11-20 23:58:38 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2005-11-20 23:58:38 (GMT)
commit7bcabc60a36eb5910bd162d54ece449f5249bbcd (patch)
treecef5c71fedb71b1e9d24df5f58bded565ba1691d /Python/modsupport.c
parent4aef41ffe7bee84f3b6440f4d76099cd030d058b (diff)
downloadcpython-7bcabc60a36eb5910bd162d54ece449f5249bbcd.zip
cpython-7bcabc60a36eb5910bd162d54ece449f5249bbcd.tar.gz
cpython-7bcabc60a36eb5910bd162d54ece449f5249bbcd.tar.bz2
Fix a few more memory leaks
Document more info about the benefits of configuring without pymalloc when running valgrind
Diffstat (limited to 'Python/modsupport.c')
-rw-r--r--Python/modsupport.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/modsupport.c b/Python/modsupport.c
index 197d99b..fbfb48d 100644
--- a/Python/modsupport.c
+++ b/Python/modsupport.c
@@ -82,6 +82,7 @@ Py_InitModule4(char *name, PyMethodDef *methods, char *doc,
}
Py_DECREF(v);
}
+ Py_DECREF(n);
}
if (doc != NULL) {
v = PyString_FromString(doc);