diff options
| author | Patrick Steinhardt <ps@pks.im> | 2018-02-08 11:14:48 +0000 |
|---|---|---|
| committer | Patrick Steinhardt <ps@pks.im> | 2018-06-10 19:34:37 +0200 |
| commit | ecf4f33a4e327a91496f72816f9f02d923e5af05 (patch) | |
| tree | bb8eccc9ab0dc8f36a702c8a15ad5ae92429ee07 /src/transports/smart.c | |
| parent | 56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff) | |
| download | libgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz | |
Convert usage of `git_buf_free` to new `git_buf_dispose`
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; |
