qemu-e2k/ui
Markus Armbruster fedf0d35aa ui: 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>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-11-06 15:42:38 +03:00
..
shader
Makefile.objs gtk/opengl: add opengl context and scanout support (GtkGLArea) 2015-10-08 10:34:53 +02:00
cocoa.m ui/cocoa.m: blinky mouse cursor fix 2015-10-16 11:06:19 +01:00
console-gl.c
console.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
curses.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
curses_keys.h ui/curses: Fix pageup/pagedown on -curses 2015-11-03 10:12:46 +01:00
cursor.c
cursor_hidden.xpm
cursor_left_ptr.xpm
egl-context.c
egl-helpers.c
gtk-egl.c
gtk-gl-area.c gtk/opengl: add opengl context and scanout support (GtkGLArea) 2015-10-08 10:34:53 +02:00
gtk.c qemu-char: convert vc backend to data-driven creation 2015-10-19 10:13:07 +02:00
input-keymap.c input: Convert to new qapi union layout 2015-11-02 08:30:28 +01:00
input-legacy.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
input.c replay: recording of the user input 2015-11-06 10:16:03 +01:00
keymaps.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
keymaps.h
qemu-pixman.c
qemu-x509.h
sdl.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
sdl2-2d.c
sdl2-gl.c
sdl2-input.c
sdl2-keymap.h
sdl2.c
sdl_keysym.h
sdl_zoom.c
sdl_zoom.h
sdl_zoom_template.h
shader.c
spice-core.c qapi: Unbox base members 2015-11-02 08:30:26 +01:00
spice-display.c
spice-input.c
vgafont.h
vnc-auth-sasl.c
vnc-auth-sasl.h
vnc-auth-vencrypt.c
vnc-auth-vencrypt.h
vnc-enc-hextile-template.h
vnc-enc-hextile.c
vnc-enc-tight.c
vnc-enc-tight.h
vnc-enc-zlib.c
vnc-enc-zrle-template.c
vnc-enc-zrle.c
vnc-enc-zrle.h
vnc-enc-zywrle-template.c
vnc-enc-zywrle.h
vnc-jobs.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
vnc-jobs.h
vnc-palette.c
vnc-palette.h
vnc-ws.c
vnc-ws.h
vnc.c ui: Use g_new() & friends where that makes obvious sense 2015-11-06 15:42:38 +03:00
vnc.h util: pull Buffer code out of VNC module 2015-10-20 14:59:09 +01:00
vnc_keysym.h
x_keymap.c
x_keymap.h