Code

avltree: Don't leak memory when clearing the tree.
authorSebastian Harl <sh@tokkee.org>
Wed, 9 Jul 2014 09:44:17 +0000 (11:44 +0200)
committerSebastian Harl <sh@tokkee.org>
Wed, 9 Jul 2014 09:44:17 +0000 (11:44 +0200)
commite747b18c932d05b21a2b3f03390a2997117dbcdb
treef500a975f0271c1b4bc54912393d1aba735077fc
parent9b2a1044801e9ba7d8d7d68bba3ac46742140235
avltree: Don't leak memory when clearing the tree.

Remove all nodes starting at the smallest instead of at the root.
src/utils/avltree.c