diff options
author | Philippe Mathieu-Daudé | 2018-05-25 00:34:58 +0200 |
---|---|---|
committer | Paolo Bonzini | 2018-06-01 15:14:31 +0200 |
commit | ead75d84cb076d51357ca0a48a2bbaf75e5466f5 (patch) | |
tree | d21052fcc1d40a33f9513df57b24d748f3aab211 /linux-headers | |
parent | docs/interop: add "firmware.json" (diff) | |
download | qemu-ead75d84cb076d51357ca0a48a2bbaf75e5466f5.tar.gz qemu-ead75d84cb076d51357ca0a48a2bbaf75e5466f5.tar.xz qemu-ead75d84cb076d51357ca0a48a2bbaf75e5466f5.zip |
gdbstub: Prevent fd leakage
Since 2f652224f7, we now check if socket_set_nodelay() errored,
but forgot to close the socket before reporting an error.
Fixes: Coverity CID 1391290 (RESOURCE_LEAK)
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180524223458.5651-1-f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'linux-headers')
0 files changed, 0 insertions, 0 deletions