summaryrefslogtreecommitdiff
path: root/commit.go
diff options
context:
space:
mode:
authorlhchavez <[email protected]>2019-01-08 02:01:44 +0000
committerlhchavez <[email protected]>2019-01-08 02:01:44 +0000
commitb609c04b681655f474b13798f6c74658295fa3a4 (patch)
tree5373c4bc84d15ea28226103c11fd293dcdec7396 /commit.go
parentd7fd15b1e0fda55c7237609bbdc8caddff49d032 (diff)
parent2609f4c6f25a7da56e2e4960c250ea3dfb53e82b (diff)
Merge remote-tracking branch 'upstream/master' into mempack
Diffstat (limited to 'commit.go')
-rw-r--r--commit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commit.go b/commit.go
index 223b093..0ab720d 100644
--- a/commit.go
+++ b/commit.go
@@ -37,10 +37,10 @@ func (c *Commit) RawMessage() string {
func (c *Commit) ExtractSignature() (string, string, error) {
var c_signed C.git_buf
- defer C.git_buf_free(&c_signed)
+ defer C.git_buf_dispose(&c_signed)
var c_signature C.git_buf
- defer C.git_buf_free(&c_signature)
+ defer C.git_buf_dispose(&c_signature)
oid := c.Id()
repo := C.git_commit_owner(c.cast_ptr)