instead of cloning use extract_buf() method
This commit is contained in:
1 parent
b668f1417d
commit
1a9dee5d22
34 files changed
+35
-35
No files matched your search
@@ -201,7 +201,7 @@ METHOD(pb_tnc_batch_t, build, void,
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
|
||||
this->encoding = chunk_clone(writer->get_buf(writer));
|
||||
this->encoding = writer->extract_buf(writer);
|
||||
writer->destroy(writer);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user