xserver/xfixes
Enrico Weigelt, metux IT consult f55e01f5d8 xfixes: replace xallocarray() by calloc()
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.

Cocci rule:

    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-06-12 17:21:43 +02:00
..
cursor.c xfixes: write out GetCursorName reply directly 2025-06-12 17:21:42 +02:00
disconnect.c xfixes: drop swapping request length fields 2025-02-06 22:28:49 +00:00
meson.build xfixes: Add ClientDisconnectMode 2021-06-07 17:28:05 +02:00
region.c xfixes: replace xallocarray() by calloc() 2025-06-12 17:21:43 +02:00
saveset.c dix: make RESOURCE_CLIENT_MASK macro private 2025-06-12 16:53:53 +02:00
select.c xfixes: consolidate ProcXFixesSelectSelectionInput() 2025-06-12 16:52:13 +02:00
xfixes.c misc.h: unexport compare_version() 2025-02-18 11:17:40 +00:00
xfixes.h xfixes: Unexport xfixes.h 2015-07-08 16:40:58 -04:00
xfixesint.h rename old symbol PANORAMIX to XINERAMA 2025-02-06 15:51:27 +00:00