diff Python/modsupport.c @ 35895:fe4c627b2096 legacy-trunk

Fix a few more memory leaks Document more info about the benefits of configuring without pymalloc when running valgrind
author Neal Norwitz <nnorwitz@gmail.com>
date Sun, 20 Nov 2005 23:58:38 +0000
parents 391937571065
children 7c8800b81c50
line wrap: on
line diff
--- a/Python/modsupport.c	Sun Nov 20 00:24:18 2005 +0000
+++ b/Python/modsupport.c	Sun Nov 20 23:58:38 2005 +0000
@@ -82,6 +82,7 @@
 			}
 			Py_DECREF(v);
 		}
+		Py_DECREF(n);
 	}
 	if (doc != NULL) {
 		v = PyString_FromString(doc);