From 1a515725b3ed905b0a0b7db1612ff4605358f79a Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 15 May 2021 23:20:02 +0200 Subject: [PATCH] Suppress ASAN leak reports when using print dialog in wxGTK There is nothing we can do about them, as memory is allocated from a CUPS functions used by GTK itself, so suppress them. --- misc/suppressions/lsan | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/misc/suppressions/lsan b/misc/suppressions/lsan index 0180aa9303..daea70f4ef 100644 --- a/misc/suppressions/lsan +++ b/misc/suppressions/lsan @@ -43,3 +43,8 @@ leak:_cairo_surface_create_similar_image leak:_cairo_surface_create_similar_image leak:gtk_css_image_surface_draw leak:_gtk_css_image_draw + +# Avoid leak reports whenever GtkPrintOperation is used (hopefully this is just +# a one off allocation not freed and not an unbounded leak). +leak:cups_request_printer_list_cb +leak:cups_dispatch_watch_dispatch