Keeping the tree alive

This commit is contained in:
lhchavez 2019-01-08 02:50:42 +00:00
parent f505e39c9e
commit 35518c78df
1 changed files with 1 additions and 0 deletions

View File

@ -450,6 +450,7 @@ func (v *Repository) CreateCommitFromIds(
runtime.KeepAlive(v)
runtime.KeepAlive(oid)
runtime.KeepAlive(tree)
runtime.KeepAlive(parents)
if ret < 0 {
return nil, MakeGitError(ret)