summaryrefslogtreecommitdiff
path: root/note.go
diff options
context:
space:
mode:
Diffstat (limited to 'note.go')
-rw-r--r--note.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/note.go b/note.go
index 21bed57..9df1b9d 100644
--- a/note.go
+++ b/note.go
@@ -132,7 +132,7 @@ func (c *NoteCollection) DefaultRef() (string, error) {
}
ret := C.GoString(buf.ptr)
- C.git_buf_free(&buf)
+ C.git_buf_dispose(&buf)
return ret, nil
}