GNOME Bugzilla – Bug 333272
tests should set G_SLICE=always-malloc now
Last modified: 2006-03-08 10:24:55 UTC
Our testsuite should somehow set the G_SLICE=always-malloc environment variable when valgrinding to ensure that memory allocations don't go through the slice allocator.
When the slice allocator is used, it's impossible to track down memory leaks, because they just appear somewhere in the middle of a grouped allocation.
This was added in GLib 2.9.5, btw. With older versions, setting it just won't have any effect.
Created attachment 60581 [details] [review]
add G_SLICE=always-malloc to the environment for valgrinding tests
Set G_SLICE=always-malloc when valgrinding tests