qemu-patch-raspberry4/nbd
Eric Blake df18c04edf nbd: Use g_autofree in a few places
Thanks to our recent move to use glib's g_autofree, I can join the
bandwagon.  Getting rid of gotos is fun ;)

There are probably more places where we could register cleanup
functions and get rid of more gotos; this patch just focuses on the
labels that existed merely to call g_free.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20190824172813.29720-2-eblake@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
2019-09-05 15:52:45 -05:00
..
client.c nbd: Use g_autofree in a few places 2019-09-05 15:52:45 -05:00
common.c nbd: generalize usage of nbd_read 2019-02-04 15:11:27 -06:00
Makefile.objs nbd: Split nbd.c 2016-01-15 18:58:02 +01:00
nbd-internal.h Include qemu/main-loop.h less 2019-08-16 13:31:52 +02:00
server.c nbd: Use g_autofree in a few places 2019-09-05 15:52:45 -05:00
trace-events nbd/server: Trace client noncompliance on unaligned requests 2019-04-08 13:42:24 -05:00