diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-04-23 11:07:19 +0200 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-04-23 11:07:19 +0200 |
commit | baf861a511a2c5cb091fcaa510c1b66331c49bed (patch) | |
tree | f681e5d2b8ab898b53ce76610cbbc6c684e821e0 /src/commit.c | |
parent | c1aefb35dd39efa0045a9925520b4715f82433e3 (diff) | |
download | libgit2-baf861a511a2c5cb091fcaa510c1b66331c49bed.tar.gz |
Fix git_repository_set_odb() refcount issue
git_repository_free() calls git_odb_free() if the owned odb is not null.
According to the doc, when setting a new odb through git_repository_set_odb() the caller has to take care of releasing the odb by himself.
Diffstat (limited to 'src/commit.c')
0 files changed, 0 insertions, 0 deletions