My take on polymorphism #13

Merged
vmg merged 9 commits from polymorphism-take-2 into master 2013-06-13 12:15:36 -05:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 27e7ccee5a - Show all commits

View File

@ -56,7 +56,7 @@ func (o gitObject) Type() ObjectType {
return ObjectType(C.git_object_type(o.ptr))
}
func (o gitObject) Free() {
func (o *gitObject) Free() {
runtime.SetFinalizer(o, nil)
C.git_commit_free(o.ptr)
}