blob: 68dbad5233e788fac0d107c4bf0f39b459839910 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* ISC license. */
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/avltree.h>
#include <skalibs/bigkv.h>
void bigkv_free (bigkv *b)
{
avltree_free(&b->map) ;
genalloc_free(bigkv_node, &b->nodes) ;
stralloc_free(&b->storage) ;
*b = bigkv_zero ;
}
|