#include "encodings.h"
#include "../utils/allocator.h"
-#include "../utils/linked_list.h"
/**
*/
static status_t destroy(private_ke_payload_t *this)
{
- if (this->key_exchange_data.ptr != NULL);
- allocator_free(this->key_exchange_data.ptr);
+ if (this->key_exchange_data.ptr != NULL)
+ {
+ allocator_free(this->key_exchange_data.ptr);
+ }
allocator_free(this);
return SUCCESS;
}