Skip to content
Snippets Groups Projects
Commit 67a010f6 authored by Mahmoud Mandour's avatar Mahmoud Mandour Committed by Dr. David Alan Gilbert
Browse files

virtiofsd/fuse_virtio.c: Changed allocations of locals to GLib


Replaced the allocation of local variables from malloc() to
GLib allocation functions.

In one instance, dropped the usage to an assert after a malloc()
call and used g_malloc() instead.

Signed-off-by: default avatarMahmoud Mandour <ma.mandourr@gmail.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210420154643.58439-8-ma.mandourr@gmail.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent c9a276f5
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment