From 021db6f226191e536a84ba6a76590bf5743d5d62 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 22 Jan 2022 17:51:47 -0500 Subject: QPDFJob: convert password to shared pointer --- include/qpdf/QPDFJob.hh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'include') 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 password_alloc; + std::shared_ptr password; bool linearize; bool decrypt; int split_pages; -- cgit v1.2.3-70-g09d2