]> git.proxmox.com Git - libgit2.git/commit
submodule: don't double free during load failure
authorEdward Thomson <ethomson@github.com>
Sun, 22 Jan 2017 00:30:02 +0000 (00:30 +0000)
committerEdward Thomson <ethomson@github.com>
Mon, 23 Jan 2017 22:24:40 +0000 (22:24 +0000)
commit0fbff82b579ae4bb764a293e9f4ef543c549ba2b
treeb095fd39c545d39d965bde4270cc1646ab62c3a3
parent1196807380b73f202bc1fea3045e13b719a465e9
submodule: don't double free during load failure

When we fail to load submodules, don't free the list; it is later freed
unconditionally.
src/submodule.c