diff options
Diffstat (limited to 'src/buildtool/file_system/git_repo.cpp')
-rw-r--r-- | src/buildtool/file_system/git_repo.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildtool/file_system/git_repo.cpp b/src/buildtool/file_system/git_repo.cpp index 5a285499..df8c6fad 100644 --- a/src/buildtool/file_system/git_repo.cpp +++ b/src/buildtool/file_system/git_repo.cpp @@ -598,6 +598,8 @@ auto GitRepo::KeepTag(std::string const& commit, git_strarray_dispose(&tag_names); return true; // success! } + git_strarray_dispose( + &tag_names); // free any allocated unused space // tag still not in, so sleep and try again std::this_thread::sleep_for(std::chrono::milliseconds(kWaitTime)); } |