xserver/miext
Enrico Weigelt, metux IT consult d819be0df9 miext: 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-04-02 17:37:14 +00:00
..
damage miext: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
rootless xquartz: fix compilation 2025-02-10 19:37:18 +08:00
shadow os: move BUG_*() macros to own private header 2025-02-17 19:32:48 +00:00
sync drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00