vendor/libgit2/src/attrcache.c in rugged-0.27.5 vs vendor/libgit2/src/attrcache.c in rugged-0.27.7
- old
+ new
@@ -202,11 +202,11 @@
cleanup:
*out_file = file;
*out_entry = entry;
- git_buf_free(&path);
+ git_buf_dispose(&path);
return error;
}
int git_attr_cache__get(
git_attr_file **out,
@@ -308,10 +308,10 @@
else if (!git_sysdir_find_xdg_file(&buf, fallback)) {
*out = git_buf_detach(&buf);
}
git_config_entry_free(entry);
- git_buf_free(&buf);
+ git_buf_dispose(&buf);
return error;
}
static void attr_cache__free(git_attr_cache *cache)