]> git.proxmox.com Git - libgit2.git/commit
tests: index: do not re-allocate index
authorPatrick Steinhardt <ps@pks.im>
Mon, 29 Aug 2016 11:09:58 +0000 (13:09 +0200)
committerPatrick Steinhardt <ps@pks.im>
Mon, 29 Aug 2016 11:29:01 +0000 (13:29 +0200)
commit86e88534d6ad2982d7519084e4323e93829a571c
tree79a2272641164eaed746d02329fad3b02ed94682
parentace0d36be90d8d5e92ed9f323ff4e0de213a5ef1
tests: index: do not re-allocate index

Plug a memory leak caused by re-allocating a `git_index`
structure which has already been allocated by the test suite's
initializer.
tests/index/collision.c