diff options
| author | Eric Blake | 2019-08-24 19:28:12 +0200 |
|---|---|---|
| committer | Eric Blake | 2019-09-05 22:52:45 +0200 |
| commit | df18c04edf57b55737ed5125bffe71a8196938a0 (patch) | |
| tree | 8736b0cfd329925185320014721c549f087af0c4 /scripts/switch-timer-api | |
| parent | nbd: Advertise multi-conn for shared read-only connections (diff) | |
| download | qemu-df18c04edf57b55737ed5125bffe71a8196938a0.tar.gz qemu-df18c04edf57b55737ed5125bffe71a8196938a0.tar.xz qemu-df18c04edf57b55737ed5125bffe71a8196938a0.zip | |
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>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions
