diff options
| author | Carlos Martín Nieto <[email protected]> | 2018-08-08 11:51:51 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2018-08-08 11:51:51 +0200 |
| commit | 538a05d55c6051371dd1749af75a7b2e2d623d53 (patch) | |
| tree | 8273762efd5b460bd4d2ee215263e073fa5f4aaa /commit.go | |
| parent | 973938cbb5539c7ee7eec3b9895a66f502b16604 (diff) | |
Remove uses of deprecated git_buf_free
Diffstat (limited to 'commit.go')
| -rw-r--r-- | commit.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |
