commit 2e7aa9ed9e9c44faf01093c27895e7c0b5ccd325 parent 2870305913e7d0b65c8c8ac059469a04045a6666 Author: Bastien Dejean <nihilhill@gmail.com> Date: Sun, 11 Aug 2019 17:32:44 +0200 Fix memory leak in `destroy_chain` Diffstat:
M | src/types.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/types.c b/src/types.c @@ -243,6 +243,7 @@ void destroy_chain(chain_t *chain) destroy_chord(c); c = n; } + free(chain); } void destroy_chord(chord_t *chord)