Skip to content

Commit 1b02641

Browse files
committed
free the walker
1 parent b08b8ca commit 1b02641

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/subcommand/log_subcommand.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,4 +94,6 @@ void log_subcommand::run()
9494
commit_wrapper commit = repo.find_commit(commit_oid);
9595
print_commit(commit, m_format_flag);
9696
}
97+
98+
git_revwalk_free(walker);
9799
}

0 commit comments

Comments
 (0)