vector: free is now dispose

In keeping with the libgit2 pattern, we _dispose_ a structure that is
not heap allocated, and _free_ a structure's contents _and the structure
itself_.
This commit is contained in:
Edward Thomson
2024-09-30 21:17:57 +01:00
parent 5efafa9d25
commit e78eec28c3
65 changed files with 187 additions and 187 deletions

View File

@@ -67,7 +67,7 @@ int main(int argc, char **argv)
fprintf(stderr, "Done %d runs\n", i);
exit:
git_vector_free_deep(&corpus_files);
git_vector_dispose_deep(&corpus_files);
git_libgit2_shutdown();
return error;
}