diff options
| author | Alex Chen <alex.chen@huawei.com> | 2020-11-30 12:36:51 +0000 |
|---|---|---|
| committer | Eric Blake <eblake@redhat.com> | 2021-01-20 14:48:05 -0600 |
| commit | 992809bf8bfa4a6ba0765344fb11d41ae7db3280 (patch) | |
| tree | a53a230fb83c68f3e5a9453ac14a4ad032c798f9 /scripts/qapi/expr.py | |
| parent | 48202c712412c803ddb56365c7bca322aa4e7506 (diff) | |
| download | focaccia-qemu-992809bf8bfa4a6ba0765344fb11d41ae7db3280.tar.gz focaccia-qemu-992809bf8bfa4a6ba0765344fb11d41ae7db3280.zip | |
qemu-nbd: Fix a memleak in qemu_nbd_client_list()
When the qio_channel_socket_connect_sync() fails we should goto 'out' label to free the 'sioc' instead of return. Reported-by: Euler Robot <euler.robot@huawei.com> Signed-off-by: Alex Chen <alex.chen@huawei.com> Message-Id: <20201130123651.17543-1-alex.chen@huawei.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Signed-off-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'scripts/qapi/expr.py')
0 files changed, 0 insertions, 0 deletions