summaryrefslogtreecommitdiff
path: root/louloulibs/xmpp/adhoc_command.hpp
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-11-07 23:41:06 +0100
committerFlorent Le Coz <louiz@louiz.org>2015-11-07 23:41:06 +0100
commit0620c8e589c713fa0f0d0f66a4c4d203e8f3f87f (patch)
tree30c4aaf1b49036102ebd6e3805af0bac5695c213 /louloulibs/xmpp/adhoc_command.hpp
parent5027b21fd1fe0dec6a82a2b0f428f30f5cc98a42 (diff)
downloadbiboumi-0620c8e589c713fa0f0d0f66a4c4d203e8f3f87f.tar.gz
biboumi-0620c8e589c713fa0f0d0f66a4c4d203e8f3f87f.tar.bz2
biboumi-0620c8e589c713fa0f0d0f66a4c4d203e8f3f87f.tar.xz
biboumi-0620c8e589c713fa0f0d0f66a4c4d203e8f3f87f.zip
Avoid leaking socket filedescriptors
When trying the various results of getaddrinfo, we forgot to close the socket when one fails, before trying the next one. Also use the destructor to make sure we do not have some other unrelated leak.
Diffstat (limited to 'louloulibs/xmpp/adhoc_command.hpp')
0 files changed, 0 insertions, 0 deletions