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/patch.c | |
| parent | 56ffdfc61e37b9e7634c7c73b05d84355bea61cd (diff) | |
| download | libgit2-ecf4f33a4e327a91496f72816f9f02d923e5af05.tar.gz | |
Convert usage of `git_buf_free` to new `git_buf_dispose`
Diffstat (limited to 'src/patch.c')
| -rw-r--r-- | src/patch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/patch.c b/src/patch.c index 5e329518d..15d2ca811 100644 --- a/src/patch.c +++ b/src/patch.c @@ -84,7 +84,7 @@ size_t git_patch_size( else out += git_buf_len(&file_header); - git_buf_free(&file_header); + git_buf_dispose(&file_header); } return out; |
