setters.c
2.13 KB
-
Fix git_repository_set_odb() refcount issue · baf861a5
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.
nulltoken committed