diff options
| author | Marc-André Lureau | 2017-08-16 20:32:04 +0200 |
|---|---|---|
| committer | Marc-André Lureau | 2017-10-10 23:31:09 +0200 |
| commit | 3d9ad8be3d83519304bf8d935913567ce40a25b8 (patch) | |
| tree | 6800940764b6f1be59cec64b4cda508877b78fa4 /scripts/switch-timer-api | |
| parent | vhost-user-scsi: code style fixes (diff) | |
| download | qemu-3d9ad8be3d83519304bf8d935913567ce40a25b8.tar.gz qemu-3d9ad8be3d83519304bf8d935913567ce40a25b8.tar.xz qemu-3d9ad8be3d83519304bf8d935913567ce40a25b8.zip | |
vhost-user-scsi: use glib allocation
Use g_new/g_free instead of plain malloc. This simplify a bit memory
handling since glib will abort if it cannot allocate.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
