diff options
author | Patrick Steinhardt <ps@pks.im> | 2017-12-08 09:05:58 +0000 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2018-06-10 19:30:40 +0200 |
commit | c8ee52703b18b667981008a1f12fac993dee91ec (patch) | |
tree | 6e62015ad475ff40e4f9a62e7809205d60df8f1d /tests/diff/diffiter.c | |
parent | 422cd59b7544b8da3b60666a2a1e9a162fd4eaa7 (diff) | |
download | libgit2-c8ee52703b18b667981008a1f12fac993dee91ec.tar.gz |
pack: rename `git_packfile_stream_free`
The function `git_packfile_stream_free` frees all state of the packfile
stream without freeing the structure itself. This naming makes it hard
to spot whether it will try to free the pointer itself or not, causing
potential future errors. Due to this reason, we have decided to name a
function freeing state without freeing the actual struture a "dispose"
function.
Rename `git_packfile_stream_free` to `git_packfile_stream_dispose` as a
first example following this rule.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions