diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 17:29:12 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-02-07 23:38:22 +0100 |
commit | 3f22bea084d8d64cba1a433726abd709caf8456b (patch) | |
tree | 4bf3deb37860d144f36d4b651bb7d1a6b4060876 /libqpdf/Pl_RC4.cc | |
parent | 40f1946df8acb0bb7fefdc3ab31f6285bb11d032 (diff) | |
download | qpdf-3f22bea084d8d64cba1a433726abd709caf8456b.tar.zst |
Use make_array_pointer_holder
This will be able to be replaced with QUtil::make_shared_array
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() |