diff options
author | Luboš Luňák <l.lunak@collabora.com> | 2019-11-15 17:20:44 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@collabora.com> | 2019-11-26 13:24:56 +0100 |
commit | 4e50cfc5419d9ab018265af08a6eeb8b1decd429 (patch) | |
tree | 347dada63d4728f9280397099abc35122d780f7c | |
parent | make Skia GPU offscreen surfaces work with unittests (diff) | |
download | core-4e50cfc5419d9ab018265af08a6eeb8b1decd429.tar.gz core-4e50cfc5419d9ab018265af08a6eeb8b1decd429.zip |
fix memory leak
Change-Id: I6148159737edd4fe225d1140606064cdb77ef615
-rw-r--r-- | include/vcl/pdfwriter.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/vcl/pdfwriter.hxx b/include/vcl/pdfwriter.hxx index e109cf6a76eb..39efe91e51c7 100644 --- a/include/vcl/pdfwriter.hxx +++ b/include/vcl/pdfwriter.hxx @@ -74,7 +74,7 @@ class VCL_DLLPUBLIC PDFOutputStream class VCL_DLLPUBLIC PDFWriter { - VclPtr<PDFWriterImpl> xImplementation; + ScopedVclPtr<PDFWriterImpl> xImplementation; PDFWriter(const PDFWriter&) = delete; PDFWriter& operator=(const PDFWriter&) = delete; |