mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 10:38:08 +01:00
69fd1fd1d0
GClosure has been in the "allocate area before the pointer" game since before we did this with GTypeInstance. At the time that this was done for GClosure, we didn't have valgrind.h in GLib. Now that we do, we should add similar valgrind hints as the ones we did for GTypeInstance. This substantially reduces reports of "possibly lost" on pretty much any program that makes use of signals. https://bugzilla.gnome.org/show_bug.cgi?id=739850