diff options
author | Russell Belfer <rb@github.com> | 2013-12-12 12:11:38 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-12-12 12:11:38 -0800 |
commit | 9cfce2735d77f4d8b6005e62349dd97c0c6de5ab (patch) | |
tree | b538c09a7d7d6285f218a052019332ac02bb314c /include | |
parent | 11bd7a034ba9046a7ba601c446e937377d507065 (diff) | |
download | libgit2-9cfce2735d77f4d8b6005e62349dd97c0c6de5ab.tar.gz |
Cleanups, renames, and leak fixes
This renames git_vector_free_all to the better git_vector_free_deep
and also contains a couple of memory leak fixes based on valgrind
checks. The fixes are specifically: failure to free global dir
path variables when not compiled with threading on and failure to
free filters from the filter registry that had not be initialized
fully.
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/sys/filter.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/git2/sys/filter.h b/include/git2/sys/filter.h index 94ad3aed4..8fe21c9c0 100644 --- a/include/git2/sys/filter.h +++ b/include/git2/sys/filter.h @@ -149,6 +149,7 @@ typedef int (*git_filter_init_fn)(git_filter *self); * Specified as `filter.shutdown`, this is an optional callback invoked * when the filter is unregistered or when libgit2 is shutting down. It * will be called once at most and should release resources as needed. + * This may be called even if the `initialize` callback was not made. * * Typically this function will free the `git_filter` object itself. */ |