qemu-e2k/hw/pci-host
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
..
apb.c Switch non-CPU callers from ld/st*_phys to address_space_ld/st* 2015-04-26 16:49:24 +01:00
bonito.c hw/pci-host/bonito: Avoid buffer overrun for bad LDMA/COP accesses 2015-08-13 16:22:53 +01:00
gpex.c
grackle.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
Makefile.objs
pam.c hw/i386: remove smram_update 2015-06-05 17:36:39 +02:00
piix.c piix: create host bridge to passthrough 2015-09-10 12:04:09 +00:00
ppce500.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00
prep.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
q35.c q35: implement TSEG 2015-06-05 19:45:13 +02:00
uninorth.c uninorth: convert ffs(3) to ctz32() 2015-04-28 15:36:08 +02:00
versatile.c pci: Trivial device model conversions to realize 2015-02-26 12:42:16 +01:00