instead of cloning use extract_buf() method

This commit is contained in:
Andreas Steffen
2013-03-04 23:21:21 +01:00
parent b668f1417d
commit 1a9dee5d22
34 changed files with 35 additions and 35 deletions
+1 -1
View File
@@ -153,7 +153,7 @@ METHOD(pa_tnc_attr_t, build, void,
writer->write_uint16(writer, 0x0000);
writer->write_data (writer, chunk_create(last_use, 20));
this->value = chunk_clone(writer->get_buf(writer));
this->value = writer->extract_buf(writer);
writer->destroy(writer);
}