On 08/23/2017 01:19 PM, Marc-André Lureau wrote:
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
---
contrib/vhost-user-scsi/vhost-user-scsi.c | 35 ---
1 f
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
---
contrib/vhost-user-scsi/vhost-user-scsi.c | 35 ---
1 file changed, 9 insertions(+), 26 deletions(-)
diff -