IMO using valgrind works fine without manually setting things. This was previously used to check some uninitialized values. However, we should never have uninitialized values anyway, so instead such a code should be improved.
@bernd If you approve of this, I can also remove the code clutter where the wrapper is still used.