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

virtiofsd/passthrough_ll.c: Changed local allocations to GLib functions


Changed the allocations of some local variables to GLib's allocation
functions, such as g_try_malloc0(), and annotated those variables
as g_autofree. Subsequently, I was able to remove the calls to free().

Signed-off-by: default avatarMahmoud Mandour <ma.mandourr@gmail.com>
Reviewed-by: default avatarStefan Hajnoczi <stefanha@redhat.com>
Message-Id: <20210420154643.58439-7-ma.mandourr@gmail.com>
Signed-off-by: default avatarDr. David Alan Gilbert <dgilbert@redhat.com>
parent 31dfd22d
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