diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-08-16 20:32:04 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 23:31:09 +0200 |
commit | 3d9ad8be3d83519304bf8d935913567ce40a25b8 (patch) | |
tree | 6800940764b6f1be59cec64b4cda508877b78fa4 /scripts | |
parent | 8c36ed6e0275613e2c3191d251e5ff96eb4e8727 (diff) |
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')
0 files changed, 0 insertions, 0 deletions