From 9e4b7281013c6c03d92dae18935137c3d8b8f6c5 Mon Sep 17 00:00:00 2001 From: liuyq-617 Date: Wed, 15 Sep 2021 10:29:56 +0800 Subject: [PATCH] fix valgrind --- tests/pytest/crash_gen/valgrind_taos.supp | 30 +++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/tests/pytest/crash_gen/valgrind_taos.supp b/tests/pytest/crash_gen/valgrind_taos.supp index b9296f008e..a10cc09883 100644 --- a/tests/pytest/crash_gen/valgrind_taos.supp +++ b/tests/pytest/crash_gen/valgrind_taos.supp @@ -18108,4 +18108,34 @@ fun:_PyEval_EvalFrameDefault fun:_PyEval_EvalCodeWithName fun:_PyFunction_Vectorcall +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:lib_build_and_cache_attr + fun:lib_getattr + ... +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:lib_build_cpython_func + fun:lib_build_and_cache_attr + fun:lib_getattr + fun:PyObject_GetAttr + ... +} +{ + + Memcheck:Leak + match-leak-kinds: definite + fun:malloc + fun:_PyObject_GC_New + fun:ffi_internal_new + fun:b_init_cffi_1_0_external_module + ... } \ No newline at end of file -- GitLab