GClosure: add valgrind hints
authorRyan Lortie <desrt@desrt.ca>
Sun, 9 Nov 2014 16:22:42 +0000 (11:22 -0500)
committerRyan Lortie <desrt@desrt.ca>
Mon, 23 Mar 2015 14:54:25 +0000 (10:54 -0400)
commit69fd1fd1d0f110800ec713bac5dafb418ceecc1c
treeb7dff88c17051dcce88580741341a867f84fe024
parentb0e330b68c161adfc5cffededd6703b6450562d5
GClosure: add valgrind hints

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
gobject/gclosure.c