| commit | f95ec59f035ef1f6e9bd2a24e9d69e35edd6e089 | [log] |
|---|---|---|
| author | Caolán McNamara <caolanm@redhat.com> | Fri Oct 27 17:00:41 2017 +0100 |
| committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | Sat Oct 28 04:24:04 2017 +0200 |
| tree | d335a5925596edcd699cc5d6b33e301b4ad8e73a | |
| parent | 493d2870cfadb652ce4b39430bebd5a364c8f7f1 [diff] |
fix memory leak Change-Id: I6683ab0d39dbbb5c0ba0958d72f0a1bbfab47164 Reviewed-on: https://gerrit.libreoffice.org/43955 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
diff --git a/comphelper/source/misc/docpasswordhelper.cxx b/comphelper/source/misc/docpasswordhelper.cxx index 0ca3c01..042421a 100644 --- a/comphelper/source/misc/docpasswordhelper.cxx +++ b/comphelper/source/misc/docpasswordhelper.cxx
@@ -337,6 +337,8 @@ Sequence< sal_Int8 > DocPasswordHelper::GetXLHashAsSequence( // Erase KeyData array and leave. rtl_secureZeroMemory (pKeyData, sizeof(pKeyData)); rtl_digest_destroy(hDigest); } return aResultKey;