diff options
| author | Philippe Mathieu-Daudé | 2017-07-27 04:42:11 +0200 |
|---|---|---|
| committer | Michael Tokarev | 2017-07-31 12:06:38 +0200 |
| commit | 9f26f3252534e7680cfc7c0dbd1d79fdb56519ad (patch) | |
| tree | ca62c732b407a9385f52ba8ca046dd5a13439194 /include/exec/memory-internal.h | |
| parent | qcow2: fix null pointer dereference (diff) | |
| download | qemu-9f26f3252534e7680cfc7c0dbd1d79fdb56519ad.tar.gz qemu-9f26f3252534e7680cfc7c0dbd1d79fdb56519ad.tar.xz qemu-9f26f3252534e7680cfc7c0dbd1d79fdb56519ad.zip | |
ui/vnc: fix leak of SocketAddress **
Extract the (correct) cleaning code as a new function vnc_free_addresses() then
use it to remove the memory leaks.
Reported-by: Clang Static Analyzer
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Daniel P. Berrange <berrange@redhat.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'include/exec/memory-internal.h')
0 files changed, 0 insertions, 0 deletions
