* gpgkeys_hkp.c (get_key), gpgkeys_http.c (get_key): Fix missing
authorDavid Shaw <dshaw@jabberwocky.com>
Tue, 1 Feb 2005 20:57:08 +0000 (20:57 +0000)
committerDavid Shaw <dshaw@jabberwocky.com>
Tue, 1 Feb 2005 20:57:08 +0000 (20:57 +0000)
http_close() calls.  Noted by Phil Pennock.

keyserver/ChangeLog
keyserver/gpgkeys_hkp.c
keyserver/gpgkeys_http.c

index 11966be..6b4aebe 100644 (file)
@@ -1,5 +1,8 @@
 2005-02-01  David Shaw  <dshaw@jabberwocky.com>
 
 2005-02-01  David Shaw  <dshaw@jabberwocky.com>
 
+       * 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  <dshaw@jabberwocky.com>
        * ksutil.h: Up the default timeout to two minutes.
 
 2005-01-24  David Shaw  <dshaw@jabberwocky.com>
index 238370a..9a3f87d 100644 (file)
@@ -289,6 +289,7 @@ get_key(char *getkey)
        }
 
       m_free(line);
        }
 
       m_free(line);
+      http_close(&hd);
     }
 
   free(request);
     }
 
   free(request);
index 866cb03..b695334 100644 (file)
@@ -114,6 +114,7 @@ get_key(char *getkey)
        }
 
       m_free(line);
        }
 
       m_free(line);
+      http_close(&hd);
     }
 
   free(request);
     }
 
   free(request);