aboutsummaryrefslogtreecommitdiffstats
path: root/tests/io
diff options
context:
space:
mode:
Diffstat (limited to 'tests/io')
-rw-r--r--tests/io/pq_file_test.c3
-rw-r--r--tests/io/pq_rtp_test.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/tests/io/pq_file_test.c b/tests/io/pq_file_test.c
index 6691db3..664acf7 100644
--- a/tests/io/pq_file_test.c
+++ b/tests/io/pq_file_test.c
@@ -145,5 +145,8 @@ int main(int argc, char **argv)
/* Print talloc memory hierarchy */
talloc_report_depth_cb(NULL, 0, 10, &talloc_ctx_walk_cb, NULL);
+ /* Make both Valgrind and LeakSanitizer happy */
+ talloc_disable_null_tracking();
+
return 0;
}
diff --git a/tests/io/pq_rtp_test.c b/tests/io/pq_rtp_test.c
index f4070b7..2c1bd41 100644
--- a/tests/io/pq_rtp_test.c
+++ b/tests/io/pq_rtp_test.c
@@ -345,5 +345,8 @@ int main(int argc, char **argv)
/* Memory leak detection test */
talloc_report_depth_cb(NULL, 0, 10, &talloc_ctx_walk_cb, NULL);
+ /* Make both Valgrind and LeakSanitizer happy */
+ talloc_disable_null_tracking();
+
return 0;
}