diff --git a/Source/charon/thread_pool.c b/Source/charon/thread_pool.c index 0231d1f7c..d4d1dff44 100644 --- a/Source/charon/thread_pool.c +++ b/Source/charon/thread_pool.c @@ -99,6 +99,7 @@ static status_t destroy(private_thread_pool_t *this) } /* free mem */ + this->logger->destroy(this->logger); allocator_free(this->threads); allocator_free(this); return SUCCESS;