xserver/hw/xfree86/modes
Enrico Weigelt, metux IT consult f759a7eee7 (!1909) xfree86: use calloc() instead of malloc()
Using calloc() instead of malloc() as preventive measure, so there
never can be any hidden bugs or leaks due uninitialized memory.

The extra cost of using this compiler intrinsic should be practically
impossible to measure - in many cases a good compiler can even deduce
if certain areas really don't need to be zero'd (because they're written
to right after allocation) and create more efficient machine code.

The code pathes in question are pretty cold anyways, so it's probably
not worth even thinking about potential extra runtime costs.

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-03 11:37:33 +02:00
..
meson.build
xf86Crtc.c (!1714) xfree86: crtc: use PostCreateResources screen hook 2025-06-03 11:37:33 +02:00
xf86Crtc.h (!1714) xfree86: crtc: use CloseScreen hook 2025-06-03 11:37:33 +02:00
xf86Cursors.c (!1909) xfree86: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
xf86DiDGA.c
xf86EdidModes.c (!1994) xfree86: ddc: make DMTModes[] static 2025-06-03 11:37:29 +02:00
xf86Modes.c
xf86Modes.h
xf86RandR12.c (!1909) xfree86: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
xf86RandR12.h (!1943) xfree86: unexport xf86RandR12CreateScreenResources() 2025-06-03 11:37:32 +02:00
xf86RandR12_priv.h (!1943) xfree86: unexport xf86RandR12CreateScreenResources() 2025-06-03 11:37:32 +02:00
xf86Rotate.c (!1909) xfree86: use calloc() instead of malloc() 2025-06-03 11:37:33 +02:00
xf86gtf.c