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 /settings.go | |
| parent | 973938cbb5539c7ee7eec3b9895a66f502b16604 (diff) | |
Remove uses of deprecated git_buf_free
Diffstat (limited to 'settings.go')
| -rw-r--r-- | settings.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/settings.go b/settings.go index c7f1850..b9bc216 100644 --- a/settings.go +++ b/settings.go @@ -31,7 +31,7 @@ import ( func SearchPath(level ConfigLevel) (string, error) { var buf C.git_buf - defer C.git_buf_free(&buf) + defer C.git_buf_dispose(&buf) runtime.LockOSThread() defer runtime.UnlockOSThread() |
