diff options
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 ; } |