- changed allocation behavior

This commit is contained in:
Martin Willi
2005-11-29 08:08:03 +00:00
parent ed37dee61d
commit df3c59d088
47 changed files with 292 additions and 291 deletions
@@ -87,7 +87,7 @@ static ike_sa_state_t get_state(private_ike_sa_init_responded_t *this)
/**
* Implements state_t.get_state
*/
static status_t destroy(private_ike_sa_init_responded_t *this)
static void destroy(private_ike_sa_init_responded_t *this)
{
this->logger->log(this->logger, CONTROL | MORE, "Going to destroy ike_sa_init_responded_t state object");
@@ -101,7 +101,6 @@ static status_t destroy(private_ike_sa_init_responded_t *this)
allocator_free(this->received_nonce.ptr);
allocator_free(this);
return SUCCESS;
}
/*