Keeping the tree alive
This commit is contained in:
parent
f505e39c9e
commit
35518c78df
|
@ -450,6 +450,7 @@ func (v *Repository) CreateCommitFromIds(
|
||||||
|
|
||||||
runtime.KeepAlive(v)
|
runtime.KeepAlive(v)
|
||||||
runtime.KeepAlive(oid)
|
runtime.KeepAlive(oid)
|
||||||
|
runtime.KeepAlive(tree)
|
||||||
runtime.KeepAlive(parents)
|
runtime.KeepAlive(parents)
|
||||||
if ret < 0 {
|
if ret < 0 {
|
||||||
return nil, MakeGitError(ret)
|
return nil, MakeGitError(ret)
|
||||||
|
|
Loading…
Reference in New Issue