diff options
Diffstat (limited to 'src/pluto/ac.c')
-rw-r--r-- | src/pluto/ac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pluto/ac.c b/src/pluto/ac.c index eb99fc70a..fadfa9e08 100644 --- a/src/pluto/ac.c +++ b/src/pluto/ac.c @@ -258,7 +258,7 @@ add_ietfAttr(ietfAttr_t *attr) ietfAttrList_t *el = malloc_thing(ietfAttrList_t); /* new attribute, unshare value */ - attr->value.ptr = clone_bytes(attr->value.ptr, attr->value.len); + attr->value = chunk_clone(attr->value); attr->count = 1; time(&attr->installed); |