qemu-e2k/hw/ppc
Markus Armbruster 012aef0734 maint: avoid useless "if (foo) free(foo)" pattern
My Coccinelle semantic patch finds a few more, because it also fixes up
the equally pointless conditional

    if (foo) {
        free(foo);
        foo = NULL;
    }

Result (feel free to squash it into your patch):

Signed-off-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
..
e500-ccsr.h
e500.c hw/ppc/e500.c: Fix memory leak 2015-06-03 14:21:24 +03:00
e500.h
e500plat.c
mac_newworld.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
mac_oldworld.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
mac.h
Makefile.objs spapr_drc: initial implementation of sPAPRDRConnector device 2015-06-03 23:56:52 +02:00
mpc8544_guts.c
mpc8544ds.c
ppc4xx_devs.c
ppc4xx_pci.c
ppc405_boards.c m48t59: introduce new base-year qdev property 2015-03-10 09:18:56 +00:00
ppc405_uc.c
ppc405.h
ppc440_bamboo.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
ppc_booke.c
ppc.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
ppce500_spin.c Convert (ffs(val) - 1) to ctz32(val) 2015-04-28 15:36:08 +02:00
prep.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00
spapr_drc.c ppc/spapr_drc: fix memory leak 2015-07-16 20:00:20 +02:00
spapr_events.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr_hcall.c spapr: Remove obsolete ram_limit field from sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr_iommu.c spapr_iommu: translate sPAPRTCEAccess to IOMMUAccessFlags 2015-07-07 17:44:51 +02:00
spapr_pci_vfio.c sPAPR: Clear stale MSIx table during EEH reset 2015-07-07 17:44:54 +02:00
spapr_pci.c maint: avoid useless "if (foo) free(foo)" pattern 2015-09-11 10:21:38 +03:00
spapr_rtas.c spapr: Support ibm, lrdr-capacity device tree property 2015-07-07 17:44:51 +02:00
spapr_rtc.c timer: rename NSEC_PER_SEC due to Mac OS X header clash 2015-07-20 17:01:00 +01:00
spapr_vio.c spapr: Merge sPAPREnvironment into sPAPRMachineState 2015-07-07 17:44:50 +02:00
spapr.c pci: allow 0 address for PCI IO/MEM regions 2015-08-13 14:08:29 +03:00
virtex_ml507.c ppc: Update cpu_model in MachineState 2015-07-07 17:44:52 +02:00