diff options
Diffstat (limited to 'src/dicache.c')
-rw-r--r-- | src/dicache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dicache.c b/src/dicache.c index 7f4cac85..39d89509 100644 --- a/src/dicache.c +++ b/src/dicache.c @@ -572,7 +572,7 @@ void a_Dicache_cleanup(void) /* * Deallocate memory used by dicache module - * (Call this one at exit time) + * (Call this one at exit time, with no cache clients queued) */ void a_Dicache_freeall(void) { @@ -587,6 +587,7 @@ void a_Dicache_freeall(void) a_Bitvec_free(entry->BitVec); a_Imgbuf_unref(entry->v_imgbuf); dicache_size_total -= entry->TotalSize; + dFree(entry); } dList_remove_fast(CachedIMGs, node); a_Url_free(node->url); |