mirror of
https://github.com/python/cpython.git
synced 2025-09-03 15:31:08 +00:00
Fix a few more memory leaks
Document more info about the benefits of configuring without pymalloc when running valgrind
This commit is contained in:
parent
4aef41ffe7
commit
7bcabc60a3
4 changed files with 29 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue