Download raw body.
fix two minor leaks
i'm starting to get some fun with valgrind after all :) diff /home/op/w/got commit - 04666d1a54c25c8be7e39bc628b4a80f3376c127 path + /home/op/w/got blob - 1877932f7650a337705d19c325c27b9f594e54bf file + got/got.c --- got/got.c +++ got/got.c @@ -4605,6 +4605,8 @@ done: free(path); free(repo_path); free(cwd); + free(start_id); + free(end_id); if (worktree) got_worktree_close(worktree); if (repo) { blob - b7ce464748cabe3f0823af08f8961d87d13e0c7a file + lib/dial.c --- lib/dial.c +++ lib/dial.c @@ -300,6 +300,7 @@ got_dial_git(int *newfd, const char *host, const char err = got_error_from_errno("connect"); close(fd); } + freeaddrinfo(servinfo); if (p == NULL) goto done;
fix two minor leaks