- fixed memleak
authorMartin Willi <martin@strongswan.org>
Thu, 10 Nov 2005 10:06:05 +0000 (10:06 -0000)
committerMartin Willi <martin@strongswan.org>
Thu, 10 Nov 2005 10:06:05 +0000 (10:06 -0000)
Source/charon/thread_pool.c

index 0231d1f..d4d1dff 100644 (file)
@@ -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;