aboutsummaryrefslogtreecommitdiffstats
path: root/Source/charon/payloads/ke_payload.c
diff options
context:
space:
mode:
authorJan Hutter <jhutter@hsr.ch>2005-11-15 15:58:03 +0000
committerJan Hutter <jhutter@hsr.ch>2005-11-15 15:58:03 +0000
commit8166bcec6285680251c57d21886e575e4ad05c5e (patch)
tree473ede0c5f6d05b8fe7ce4890d194cc6b3e060bb /Source/charon/payloads/ke_payload.c
parent22a5e2b8e86db196d22c9144ed1bf0a0a1ddf2d4 (diff)
downloadstrongswan-8166bcec6285680251c57d21886e575e4ad05c5e.tar.bz2
strongswan-8166bcec6285680251c57d21886e575e4ad05c5e.tar.xz
- notify payload written and tested
Diffstat (limited to 'Source/charon/payloads/ke_payload.c')
-rw-r--r--Source/charon/payloads/ke_payload.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/Source/charon/payloads/ke_payload.c b/Source/charon/payloads/ke_payload.c
index cfb1fb99b..cfbd536c4 100644
--- a/Source/charon/payloads/ke_payload.c
+++ b/Source/charon/payloads/ke_payload.c
@@ -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;
}