-
Klaus Aehlig authored
The queryOneServer function opens a UDP socket to connect to the specified confd server. However, it would never close it. Fix this and do so in a bracket construction to make sure it also gets cleaned up in case of errors. Signed-off-by: Klaus Aehlig <aehlig@google.com> Reviewed-by: Petr Pudlak <pudlak@google.com>
ee2b2eda