diff options
Diffstat (limited to 'src/transports/smart.c')
| -rw-r--r-- | src/transports/smart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transports/smart.c b/src/transports/smart.c index 6d5d95fbf..79b5a3e6d 100644 --- a/src/transports/smart.c +++ b/src/transports/smart.c @@ -171,7 +171,7 @@ int git_smart__update_heads(transport_smart *t, git_vector *symrefs) ref->head.symref_target = git_buf_detach(&buf); } - git_buf_free(&buf); + git_buf_dispose(&buf); if (error < 0) return error; |
