Commit baf861a511a2c5cb091fcaa510c1b66331c49bed

nulltoken 2012-04-23T11:07:19

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.