From 7bcabc60a36eb5910bd162d54ece449f5249bbcd Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Sun, 20 Nov 2005 23:58:38 +0000 Subject: Fix a few more memory leaks Document more info about the benefits of configuring without pymalloc when running valgrind --- Python/modsupport.c | 1 + 1 file changed, 1 insertion(+) (limited to 'Python/modsupport.c') diff --git a/Python/modsupport.c b/Python/modsupport.c index 197d99b1d1..fbfb48dc26 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); -- cgit v1.2.1