spapr: fix leak of rev array
authorEmilio G. Cota <cota@braap.org>
Fri, 24 Aug 2018 20:31:01 +0000 (16:31 -0400)
committerDavid Gibson <david@gibson.dropbear.id.au>
Tue, 28 Aug 2018 01:31:23 +0000 (11:31 +1000)
commiteceba3477e7fa9b2c0a711a60edbdb7bfa8e4dcd
tree8b7ec3850eccf0d4738139f97fb241aeb59813e5
parenta69dc537cc1a6d3c3cb35d30197ed45914a150c3
spapr: fix leak of rev array

Introduced in 04d595b300 ("spapr: do not use CPU_FOREACH_REVERSE",
2018-08-23)

Fixes: CID1395181
Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Emilio G. Cota <cota@braap.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/spapr.c