qemu-irix/hw/display
Markus Armbruster 9de68637df qxl: Use g_new() & friends where that makes obvious sense
g_new(T, n) is neater than g_malloc(sizeof(T) * n).  It's also safer,
for two reasons.  One, it catches multiplication overflowing size_t.
Two, it returns T * rather than void *, which lets the compiler catch
more type errors.

This commit only touches allocations with size arguments of the form
sizeof(T).  Same Coccinelle semantic patch as in commit b45c03f.

Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-11-06 15:42:38 +03:00
..
Makefile.objs
ads7846.c
blizzard.c
blizzard_template.h
cg3.c
cirrus_vga.c
cirrus_vga_rop.h
cirrus_vga_rop2.h
exynos4210_fimd.c
framebuffer.c
framebuffer.h
g364fb.c
jazz_led.c
milkymist-tmu2.c
milkymist-vgafb.c
milkymist-vgafb_template.h
omap_dss.c
omap_lcd_template.h
omap_lcdc.c
pl110.c
pl110_template.h
pxa2xx_lcd.c
pxa2xx_template.h
qxl-logger.c
qxl-render.c
qxl.c qxl: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
qxl.h
sm501.c
sm501_template.h
ssd0303.c
ssd0323.c
tc6393xb.c
tc6393xb_template.h
tcx.c
vga-helpers.h
vga-isa-mm.c
vga-isa.c
vga-pci.c
vga.c
vga.h
vga_int.h
virtio-gpu-3d.c
virtio-gpu-pci.c
virtio-gpu.c
virtio-vga.c
vmware_vga.c
xenfb.c