We don't seem to be doing anything wrong, but ASAN detects many such leaks as soon as we call functions such as gtk_css_style_render_icon() (used by wxRendererGTK::DrawCheckBox()) and several others.
We don't seem to be doing anything wrong, but ASAN detects many such leaks as soon as we call functions such as gtk_css_style_render_icon() (used by wxRendererGTK::DrawCheckBox()) and several others.