File tree 1 file changed +3
-6
lines changed
1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,9 @@ can be used to force the usage of the malloc() allocator of the C library.
12
12
If you don't want to read about the details of using Valgrind, there
13
13
are still two things you must do to suppress the warnings. First,
14
14
you must use a suppressions file. One is supplied in
15
- Misc/valgrind-python.supp. Second, you must do one of the following:
16
-
17
- * Uncomment Py_USING_MEMORY_DEBUGGER in Objects/obmalloc.c,
18
- then rebuild Python
19
- * Uncomment the lines in Misc/valgrind-python.supp that
20
- suppress the warnings for PyObject_Free and PyObject_Realloc
15
+ Misc/valgrind-python.supp. Second, you must uncomment the lines in
16
+ Misc/valgrind-python.supp that suppress the warnings for PyObject_Free and
17
+ PyObject_Realloc.
21
18
22
19
If you want to use Valgrind more effectively and catch even more
23
20
memory leaks, you will need to configure python --without-pymalloc.
You can’t perform that action at this time.
0 commit comments