mirror of
https://github.com/mii443/qemu.git
synced 2025-08-23 15:48:20 +00:00
We're iterating the list, and then freeing the iteration pointer rather than the list head. Fixes:0a9667ecdb
("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> (cherry picked from commitd4ff109373
) Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>