diff options
| author | Peter Maydell | 2018-05-10 19:10:56 +0200 |
|---|---|---|
| committer | Peter Maydell | 2018-05-10 19:10:56 +0200 |
| commit | 7a35383afd66458ff11fa5c72a1599f3a24f3073 (patch) | |
| tree | 1689892e26baca162177d0ed649f0371b7bd334a /include/exec/exec-all.h | |
| parent | Merge remote-tracking branch 'remotes/cody/tags/block-pull-request' into staging (diff) | |
| download | qemu-7a35383afd66458ff11fa5c72a1599f3a24f3073.tar.gz qemu-7a35383afd66458ff11fa5c72a1599f3a24f3073.tar.xz qemu-7a35383afd66458ff11fa5c72a1599f3a24f3073.zip | |
hw/arm/iotkit.c: fix minor memory leak
Coverity (CID1390573) spots that we forgot to free the
gpioname strings in a loop in the iotkit realize function.
Correct the error.
This isn't a significant leak, because this function
only ever runs once.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Peter Xu <peterx@redhat.com>
Message-id: 20180427110137.19304-1-peter.maydell@linaro.org
Diffstat (limited to 'include/exec/exec-all.h')
0 files changed, 0 insertions, 0 deletions
