]> git.ipfire.org Git - thirdparty/git.git/blobdiff - http.c
Reuse fixup_pack_header_footer in index-pack
[thirdparty/git.git] / http.c
diff --git a/http.c b/http.c
index 576740feff9ffa62b65f8cdf0a38f2354872c520..ae27e0c9409b93558e50318f2dd0a4fe758293b5 100644 (file)
--- a/http.c
+++ b/http.c
@@ -300,6 +300,7 @@ void http_cleanup(void)
        curl_global_cleanup();
 
        curl_slist_free_all(pragma_header);
+        pragma_header = NULL;
 }
 
 struct active_request_slot *get_active_slot(void)