diff options
Diffstat (limited to 'libqpdf/Pl_RC4.cc')
-rw-r--r-- | libqpdf/Pl_RC4.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libqpdf/Pl_RC4.cc b/libqpdf/Pl_RC4.cc index 8e3548e5..26d9303f 100644 --- a/libqpdf/Pl_RC4.cc +++ b/libqpdf/Pl_RC4.cc @@ -9,8 +9,7 @@ Pl_RC4::Pl_RC4(char const* identifier, Pipeline* next, out_bufsize(out_bufsize), rc4(key_data, key_len) { - this->outbuf = PointerHolder<unsigned char>( - true, new unsigned char[out_bufsize]); + this->outbuf = make_array_pointer_holder<unsigned char>(out_bufsize); } Pl_RC4::~Pl_RC4() |