summaryrefslogtreecommitdiff
path: root/src/libdatastruct/avltree_free.c
blob: 14198fee842972d7a5f8a2a75f9a281f4ce5c8d2 (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_ref t)
{
  gensetdyn_free(&t->x) ;
  *t = avltree_zero ;
}