diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-08-23 13:12:22 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-08-23 15:57:35 +0200 |
commit | e78a6c4231cfb33643b45442b786e1e31b2781a8 (patch) | |
tree | 8a6bef3fa578427d53401bd82a295972c68ec41c | |
parent | 6a0aeb78e3098e92c09de24bd6036b90a13152f2 (diff) |
leak on import of moz279355-2.pdf
since...
commit e4e39a48fd6da85189af278d194e06e42189690d
Date: Thu Aug 16 12:38:52 2018 +0200
loplugin:useuniqueptr in PDFGrammar
Change-Id: If233f3be5beb2c14399f229972441e912385a2b7
Reviewed-on: https://gerrit.libreoffice.org/59500
Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
-rw-r--r-- | sdext/source/pdfimport/pdfparse/pdfparse.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/pdfparse/pdfparse.cxx b/sdext/source/pdfimport/pdfparse/pdfparse.cxx index c46ff60b373c..9e2eb4870a92 100644 --- a/sdext/source/pdfimport/pdfparse/pdfparse.cxx +++ b/sdext/source/pdfimport/pdfparse/pdfparse.cxx @@ -337,7 +337,7 @@ public: if( pObj ) { if( pObj->m_pObject == nullptr ) - pObj->m_pObject = pNewValue.release(); + pObj->m_pObject = pNewValue.get(); else { pMsg = "second value for object"; |