GNOME Bugzilla – Bug 739850
GClosure: add valgrind hints
Last modified: 2015-03-23 14:54:40 UTC
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.
Created attachment 290279 [details] [review] GClosure: add valgrind hints
Review of attachment 290279 [details] [review]: sounds like a good idea to me
Attachment 290279 [details] pushed as 69fd1fd - GClosure: add valgrind hints