diff options
author | Edward Thomson <ethomson@edwardthomson.com> | 2018-06-11 18:26:22 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-11 18:26:22 +0100 |
commit | 3be7301151e44537d2423386dc71f1d3e496c664 (patch) | |
tree | 655ff1fc09e227c77a1c8853706e5180a78f5a50 /src/win32 | |
parent | e6444dacb88e29e75fee81a87d1876db77d43362 (diff) | |
parent | ecf4f33a4e327a91496f72816f9f02d923e5af05 (diff) | |
download | libgit2-3be7301151e44537d2423386dc71f1d3e496c664.tar.gz |
Merge pull request #4436 from pks-t/pks/packfile-stream-free
pack: rename `git_packfile_stream_free`
Diffstat (limited to 'src/win32')
-rw-r--r-- | src/win32/findfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/win32/findfile.c b/src/win32/findfile.c index d56aa1fd2..b5419bef0 100644 --- a/src/win32/findfile.c +++ b/src/win32/findfile.c @@ -158,7 +158,7 @@ static int win32_find_existing_dirs( } } - git_buf_free(&buf); + git_buf_dispose(&buf); return (git_buf_oom(out) ? -1 : 0); } @@ -185,7 +185,7 @@ int git_win32__find_system_dirs(git_buf *out, const wchar_t *subdir) &buf, HKEY_LOCAL_MACHINE, REG_MSYSGIT_INSTALL, subdir) && buf.size) git_buf_join(out, GIT_PATH_LIST_SEPARATOR, out->ptr, buf.ptr); - git_buf_free(&buf); + git_buf_dispose(&buf); return (git_buf_oom(out) ? -1 : 0); } |