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/attrcache.c | |
parent | 56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff) | |
download | libgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz |
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'src/attrcache.c')
-rw-r--r-- | src/attrcache.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/attrcache.c b/src/attrcache.c index 65e7b4655..bb7e58731 100644 --- a/src/attrcache.c +++ b/src/attrcache.c @@ -204,7 +204,7 @@ cleanup: *out_file = file; *out_entry = entry; - git_buf_free(&path); + git_buf_dispose(&path); return error; } @@ -310,7 +310,7 @@ static int attr_cache__lookup_path( } git_config_entry_free(entry); - git_buf_free(&buf); + git_buf_dispose(&buf); return error; } |