xserver/exa
Enrico Weigelt, metux IT consult 28e8a3c475 exa: 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:16 +02:00
..
exa.c treewide: drop COMPOSITE symbol 2025-06-12 16:47:01 +02:00
exa.h exa: rename some badly named variables 2020-07-10 06:17:40 +10:00
exa_accel.c treewide: drop COMPOSITE symbol 2025-06-12 16:47:01 +02:00
exa_classic.c exa: use PixmapDestroy hook 2025-06-12 16:46:42 +02:00
exa_driver.c exa: use PixmapDestroy hook 2025-06-12 16:46:42 +02:00
exa_glyphs.c exa: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
exa_migration_classic.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
exa_migration_mixed.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
exa_mixed.c exa: use calloc() instead of malloc() 2025-06-12 16:49:16 +02:00
exa_offscreen.c exa: use calloc() instead of malloc() 2025-06-12 16:49:16 +02:00
exa_priv.h exa: use PostCreateScreenResources hook 2025-06-12 16:46:52 +02:00
exa_render.c exa: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
exa_unaccel.c mi: Add a default no-op miSourceValidate 2019-10-30 16:26:01 +00:00
meson.build Add a Meson build system alongside autotools. 2017-04-26 15:25:27 -07:00