diff options
author | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-25 10:56:25 +0000 |
---|---|---|
committer | Laurent Bercot <ska-skaware@skarnet.org> | 2019-10-25 10:56:25 +0000 |
commit | c9e549afa60dc3c4660e1de42a79f810299c2ade (patch) | |
tree | 83f0416c10cfab5079d9aee1a046ecaf5c73c2cc /src/libdatastruct/bigkv_free.c | |
parent | 9945737a8f0612b8980d9da3db3e6a4ab8a247f4 (diff) | |
download | skalibs-c9e549afa60dc3c4660e1de42a79f810299c2ade.tar.xz |
Better bigkv
Diffstat (limited to 'src/libdatastruct/bigkv_free.c')
-rw-r--r-- | src/libdatastruct/bigkv_free.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libdatastruct/bigkv_free.c b/src/libdatastruct/bigkv_free.c index 9b43c52..848c614 100644 --- a/src/libdatastruct/bigkv_free.c +++ b/src/libdatastruct/bigkv_free.c @@ -10,4 +10,5 @@ void bigkv_free (bigkv_t *b) avltree_free(&b->map) ; genalloc_free(bigkv_node_t, &b->nodes) ; stralloc_free(&b->storage) ; + *b = bigkv_zero ; } |