strongswan.org
Wiki/Project Management
Downloads
Gitweb
projects
/
strongswan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8f0ab61
)
fixed cleanup of traffic selector lists
author
Martin Willi
<martin@strongswan.org>
Tue, 12 May 2009 15:13:09 +0000
(17:13 +0200)
committer
Martin Willi
<martin@strongswan.org>
Tue, 12 May 2009 15:13:09 +0000
(17:13 +0200)
src/charon/sa/tasks/child_create.c
patch
|
blob
|
history
diff --git
a/src/charon/sa/tasks/child_create.c
b/src/charon/sa/tasks/child_create.c
index
382266f
..
6bf9e9d
100644
(file)
--- a/
src/charon/sa/tasks/child_create.c
+++ b/
src/charon/sa/tasks/child_create.c
@@
-1126,11
+1126,11
@@
static void destroy(private_child_create_t *this)
{
chunk_free(&this->my_nonce);
chunk_free(&this->other_nonce);
{
chunk_free(&this->my_nonce);
chunk_free(&this->other_nonce);
- if (this->ts
i
)
+ if (this->ts
r
)
{
this->tsr->destroy_offset(this->tsr, offsetof(traffic_selector_t, destroy));
}
{
this->tsr->destroy_offset(this->tsr, offsetof(traffic_selector_t, destroy));
}
- if (this->ts
r
)
+ if (this->ts
i
)
{
this->tsi->destroy_offset(this->tsi, offsetof(traffic_selector_t, destroy));
}
{
this->tsi->destroy_offset(this->tsi, offsetof(traffic_selector_t, destroy));
}