xserver/hw/vfb
Enrico Weigelt, metux IT consult f0257bfe93 xvfb: 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:44 +02:00
..
man man pages: remove extraneous PP macros 2025-05-31 15:01:49 -07:00
.gitignore Xvfb: build Xvfb man pages using XORG_MANPAGE_SECTIONS 2011-01-18 15:10:24 -08:00
InitInput.c mi: unexport mieqInit() 2025-02-06 16:45:20 +02:00
InitOutput.c xvfb: replace xallocarray() by calloc() 2025-06-12 17:21:44 +02:00
meson.build mi: List extensions in usage message 2021-01-29 12:52:09 +00:00