aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2005-02-01 20:57:08 +0000
committerDavid Shaw <[email protected]>2005-02-01 20:57:08 +0000
commitb663f3f8d3ef15dec1a983324a291c34246bd8fe (patch)
tree0791b47e20db0c0d304fea23c9042cb407e3346c
parent* http.c (connect_server): Fix fd leak when connecting to a round-robin (diff)
downloadgnupg-b663f3f8d3ef15dec1a983324a291c34246bd8fe.tar.gz
gnupg-b663f3f8d3ef15dec1a983324a291c34246bd8fe.zip
* gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missing
http_close() calls. Noted by Phil Pennock.
Diffstat (limited to '')
-rw-r--r--keyserver/ChangeLog3
-rw-r--r--keyserver/gpgkeys_hkp.c1
-rw-r--r--keyserver/gpgkeys_http.c1
3 files changed, 5 insertions, 0 deletions
diff --git a/keyserver/ChangeLog b/keyserver/ChangeLog
index 11966be59..6b4aebe4d 100644
--- a/keyserver/ChangeLog
+++ b/keyserver/ChangeLog
@@ -1,5 +1,8 @@
2005-02-01 David Shaw <[email protected]>
+ * gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missing
+ http_close() calls. Noted by Phil Pennock.
+
* ksutil.h: Up the default timeout to two minutes.
2005-01-24 David Shaw <[email protected]>
diff --git a/keyserver/gpgkeys_hkp.c b/keyserver/gpgkeys_hkp.c
index 238370a41..9a3f87d53 100644
--- a/keyserver/gpgkeys_hkp.c
+++ b/keyserver/gpgkeys_hkp.c
@@ -289,6 +289,7 @@ get_key(char *getkey)
}
m_free(line);
+ http_close(&hd);
}
free(request);
diff --git a/keyserver/gpgkeys_http.c b/keyserver/gpgkeys_http.c
index 866cb037a..b6953347b 100644
--- a/keyserver/gpgkeys_http.c
+++ b/keyserver/gpgkeys_http.c
@@ -114,6 +114,7 @@ get_key(char *getkey)
}
m_free(line);
+ http_close(&hd);
}
free(request);