Use of subprocess module seems to tickle Valgrind, so activate some existing
leak suppressions and add some more.
Memcheck:Leak
fun:malloc
fun:PyThread_allocate_lock
- fun:PyEval_InitThreads
+# fun:PyEval_InitThreads
}
{
Memcheck:Leak
fun:realloc
fun:_PyObject_GC_Resize
- fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
{
Memcheck:Leak
fun:malloc
fun:_PyObject_GC_New
- fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
{
Memcheck:Leak
fun:malloc
fun:_PyObject_GC_NewVar
- fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
+}
+
+
+{
+ Handle PyMalloc confusing valgrind (possibly leaked)
+ Memcheck:Leak
+ fun:malloc
+ fun:PyObject_Malloc
+# fun:COMMENT_THIS_LINE_TO_DISABLE_LEAK_WARNING
}
#