diff options
author | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-03-23 12:08:22 +0000 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2020-03-25 12:31:38 +0000 |
commit | d4ff109373ce871928c7e9ef648973eba642b484 (patch) | |
tree | f592d9f7cdae2a04433496792d38b788a20282a9 /tests | |
parent | 6d1da867e65f72b890e736a36cbaa9146a824b64 (diff) |
hmp/vnc: Fix info vnc list leak
We're iterating the list, and then freeing the iteration pointer rather
than the list head.
Fixes: 0a9667ecdb6d ("hmp: Update info vnc")
Reported-by: Coverity (CID 1421932)
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20200323120822.51266-1-dgilbert@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions