cache: fix per-block metadata memory leak

This commit is contained in:
wm4 2013-07-02 12:17:06 +02:00
parent c4766dc3c6
commit e00621ac46
1 changed files with 1 additions and 0 deletions

View File

@ -524,6 +524,7 @@ static void cache_uninit(stream_t *cache)
pthread_mutex_destroy(&s->mutex);
pthread_cond_destroy(&s->wakeup);
free(s->buffer);
free(s->bm);
talloc_free(s);
}