- notify payload written and tested

This commit is contained in:
Jan Hutter
2005-11-15 15:58:03 +00:00
parent 22a5e2b8e8
commit 8166bcec62
8 changed files with 644 additions and 9 deletions
+4 -3
View File
@@ -31,7 +31,6 @@
#include "encodings.h"
#include "../utils/allocator.h"
#include "../utils/linked_list.h"
/**
@@ -118,8 +117,10 @@ encoding_rule_t ke_payload_encodings[] = {
*/
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;
}