Suppress ASAN report about memory leaks in g_quark_init()

This is a one off allocation which won't be fixed by glib maintainers
(see https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2135 and
https://discourse.gnome.org/t/feature-request-enable-compilation-without-memory-leaks/6960
etc).
This commit is contained in:
Vadim Zeitlin 2024-01-27 19:06:56 +01:00
parent ac3cea5bcd
commit dc55e4fe11

View file

@ -48,3 +48,9 @@ leak:_gtk_css_image_draw
# a one off allocation not freed and not an unbounded leak). # a one off allocation not freed and not an unbounded leak).
leak:cups_request_printer_list_cb leak:cups_request_printer_list_cb
leak:cups_dispatch_watch_dispatch leak:cups_dispatch_watch_dispatch
# Avoid leak reports for glib one off allocations (see also glib own Valgrind
# suppressions file glib.supp, found under /usr/share/glib-2.0/valgrind on
# Linux systems).
leak:g_malloc
leak:g_quark_init