summaryrefslogtreecommitdiff
path: root/src/libimcv/ita/ita_attr_settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libimcv/ita/ita_attr_settings.c')
-rw-r--r--src/libimcv/ita/ita_attr_settings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libimcv/ita/ita_attr_settings.c b/src/libimcv/ita/ita_attr_settings.c
index 7941cf69e..9ce253d28 100644
--- a/src/libimcv/ita/ita_attr_settings.c
+++ b/src/libimcv/ita/ita_attr_settings.c
@@ -157,7 +157,7 @@ METHOD(pa_tnc_attr_t, build, void,
}
enumerator->destroy(enumerator);
- this->value = chunk_clone(writer->get_buf(writer));
+ this->value = writer->extract_buf(writer);
writer->destroy(writer);
}