Update documentation for git-format-patch
[gitweb.git] / http-fetch.c
index 861644b27ee0c01a780b68daa43c259dd978a538..178f1ee311dd7db8ad6c2d10babde1a8c8fe7ebd 100644 (file)
@@ -1269,10 +1269,10 @@ int main(int argc, char **argv)
        if (pull(commit_id))
                rc = 1;
 
-       curl_slist_free_all(no_pragma_header);
-
        http_cleanup();
 
+       curl_slist_free_all(no_pragma_header);
+
        if (corrupt_object_found) {
                fprintf(stderr,
 "Some loose object were found to be corrupt, but they might be just\n"