aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJay Berkenbilt <ejb@ql.org>2022-01-22 23:51:47 +0100
committerJay Berkenbilt <ejb@ql.org>2022-01-30 19:11:03 +0100
commit021db6f226191e536a84ba6a76590bf5743d5d62 (patch)
tree6aefd44be1e4572fd76386a37716ed454d4de26b /include
parent1a8c2eb93b3116a3057e8009b8cbd7510abaf138 (diff)
downloadqpdf-021db6f226191e536a84ba6a76590bf5743d5d62.tar.zst
QPDFJob: convert password to shared pointer
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFJob.hh3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/qpdf/QPDFJob.hh b/include/qpdf/QPDFJob.hh
index 03035957..86ee470c 100644
--- a/include/qpdf/QPDFJob.hh
+++ b/include/qpdf/QPDFJob.hh
@@ -199,8 +199,7 @@ class QPDFJob
enum remove_unref_e { re_auto, re_yes, re_no };
- char const* password;
- std::shared_ptr<char> password_alloc;
+ std::shared_ptr<char> password;
bool linearize;
bool decrypt;
int split_pages;