diff options
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | src/cache.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,7 @@ o add missing string.h required by strdup in config parsing o add eventfd emulation to communicate receiver -> sender o add best effort replication protocol (aka NOTRACK) o rework the HELLO logic inside FT-FW +o fix leak in cache_destroy(): release objects before destroying the cache version 0.9.6 (2008/03/08) ------------------------------ 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); |