diff options
-rw-r--r-- | Source/charon/ike_sa_manager.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/charon/ike_sa_manager.c b/Source/charon/ike_sa_manager.c index 506be85d1..2a9414d24 100644 --- a/Source/charon/ike_sa_manager.c +++ b/Source/charon/ike_sa_manager.c @@ -735,12 +735,12 @@ static status_t destroy(private_ike_sa_manager_t *this) this->delete_entry(this, entry); } iterator->destroy(iterator); - list->destroy(list); pthread_mutex_unlock(&(this->mutex)); - + /* destroy logger at end */ global_logger_manager->destroy_logger(global_logger_manager,this->logger); + allocator_free(this); return SUCCESS; |