summaryrefslogtreecommitdiff
path: root/src/diff_generate.c
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2018-06-11 18:26:22 +0100
committerGitHub <noreply@github.com>2018-06-11 18:26:22 +0100
commit3be7301151e44537d2423386dc71f1d3e496c664 (patch)
tree655ff1fc09e227c77a1c8853706e5180a78f5a50 /src/diff_generate.c
parente6444dacb88e29e75fee81a87d1876db77d43362 (diff)
parentecf4f33a4e327a91496f72816f9f02d923e5af05 (diff)
downloadlibgit2-3be7301151e44537d2423386dc71f1d3e496c664.tar.gz
Merge pull request #4436 from pks-t/pks/packfile-stream-free
pack: rename `git_packfile_stream_free`
Diffstat (limited to 'src/diff_generate.c')
-rw-r--r--src/diff_generate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/diff_generate.c b/src/diff_generate.c
index 0105c1701..539269a99 100644
--- a/src/diff_generate.c
+++ b/src/diff_generate.c
@@ -601,7 +601,7 @@ int git_diff__oid_for_entry(
if (p_stat(full_path.ptr, &st) < 0) {
error = git_path_set_error(errno, entry.path, "stat");
- git_buf_free(&full_path);
+ git_buf_dispose(&full_path);
return error;
}
@@ -664,7 +664,7 @@ int git_diff__oid_for_entry(
}
}
- git_buf_free(&full_path);
+ git_buf_dispose(&full_path);
return error;
}