summaryrefslogtreecommitdiff
path: root/note.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2018-08-08 11:51:51 +0200
committerCarlos Martín Nieto <[email protected]>2018-08-08 11:51:51 +0200
commit538a05d55c6051371dd1749af75a7b2e2d623d53 (patch)
tree8273762efd5b460bd4d2ee215263e073fa5f4aaa /note.go
parent973938cbb5539c7ee7eec3b9895a66f502b16604 (diff)
Remove uses of deprecated git_buf_free
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
}