summaryrefslogtreecommitdiff
path: root/src/libdatastruct/avltree_free.c
blob: 161004a76f7da72b17490a4406a84188acf845c8 (plain)
1
2
3
4
5
6
7
8
9
10
/* ISC license. */

#include <skalibs/gensetdyn.h>
#include <skalibs/avltree.h>

void avltree_free (avltree *t)
{
  gensetdyn_free(&t->x) ;
  *t = avltree_zero ;
}