diff options
author | Mahmoud Mandour | 2021-04-20 17:46:36 +0200 |
---|---|---|
committer | Dr. David Alan Gilbert | 2021-05-06 20:47:44 +0200 |
commit | 98bbd186ed49ead7419ca9d9f2915c7cc1dd0083 (patch) | |
tree | 43db63f9fa01cccb2fa64140a45c6584592fec6c /tools/virtiofsd/fuse_virtio.c | |
parent | virtiofsd: Don't assume header layout (diff) | |
download | qemu-98bbd186ed49ead7419ca9d9f2915c7cc1dd0083.tar.gz qemu-98bbd186ed49ead7419ca9d9f2915c7cc1dd0083.tar.xz qemu-98bbd186ed49ead7419ca9d9f2915c7cc1dd0083.zip |
virtiofsd: Changed allocations of fuse_req to GLib functions
Replaced the allocation and deallocation of fuse_req structs
using calloc()/free() call pairs to a GLib's g_try_new0()
and g_free().
Signed-off-by: Mahmoud Mandour <ma.mandourr@gmail.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210420154643.58439-2-ma.mandourr@gmail.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tools/virtiofsd/fuse_virtio.c')
0 files changed, 0 insertions, 0 deletions