qemu/migration
Daniel P. Berrange ef1e1e0782 maint: avoid useless "if (foo) free(foo)" pattern
The free() and g_free() functions both happily accept
NULL on any platform QEMU builds on. As such putting a
conditional 'if (foo)' check before calls to 'free(foo)'
merely serves to bloat the lines of code.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2015-09-11 10:21:38 +03:00
..
block.c
exec.c
fd.c
Makefile.objs
migration.c
qemu-file-buf.c
qemu-file-internal.h
qemu-file-stdio.c
qemu-file-unix.c
qemu-file.c
ram.c
rdma.c
savevm.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
tcp.c
unix.c
vmstate.c
xbzrle.c