Skip to content

XORG_CHECK_MALLOC_ZERO: stop testing malloc, assume the worst

Alan Coopersmith requested to merge alanc/macros:malloc_zero into master

Since there is no guarantee applications will run with the same malloc implementation we tested against, and the cost of always ensuring the size passed to malloc is non-zero is minimal now, stop testing it, and default the answer to yes.

Still allows builders to override when they have complete control over which malloc implementation will be used.

Signed-off-by: Alan Coopersmith

Merge request reports

Loading