xserver/miext/shadow
Enrico Weigelt, metux IT consult a6ec907b22 miext: 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-12 16:49:32 +02:00
..
c2p_core.h os: move BUG_*() macros to own private header 2025-02-17 19:32:48 +00:00
meson.build meson: hide C API if Xorg is disabled (like autotools) 2021-03-11 00:22:36 +00:00
sh3224.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shadow.c miext: use calloc() instead of malloc() 2025-06-12 16:49:32 +02:00
shadow.h miext: shadow: use CloseScreen hook 2025-06-12 16:45:46 +02:00
shafb4.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shafb8.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shiplan2p4.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shiplan2p8.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shpacked.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shplanar.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shplanar8.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot8pack.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot8pack_90.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot8pack_180.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot8pack_270.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack_90.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack_90YX.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack_180.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack_270.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot16pack_270YX.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot32pack.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot32pack_90.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot32pack_180.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrot32pack_270.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrotate.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
shrotpack.h shadow: Macro cleanup 2016-12-12 14:10:44 -05:00
shrotpackYX.h shadow: Macro cleanup 2016-12-12 14:10:44 -05:00