diff options
Diffstat (limited to 'src/cache.c')
-rw-r--r-- | src/cache.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cache.c b/src/cache.c index ed76680..fe5fd27 100644 --- a/src/cache.c +++ b/src/cache.c @@ -176,6 +176,7 @@ struct cache *cache_create(const char *name, void cache_destroy(struct cache *c) { + cache_flush(c); hashtable_destroy(c->h); free(c->features); free(c->feature_offset); |