Kaydet (Commit) 5db6ec77 authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: memleak in randompool

regression from

commit 91457fb3
Author: Norbert Thiebaud <nthiebaud@gmail.com>
Date:   Tue Apr 21 20:55:15 2015 -0500

    use osl_get_system_random data in rtlRamdomPool

Change-Id: Ib5ff6b7fbd08869d9a6dbc1f4df883d701cf765c
üst 7a77d77e
...@@ -298,8 +298,8 @@ void SAL_CALL rtl_random_destroyPool (rtlRandomPool Pool) SAL_THROW_EXTERN_C() ...@@ -298,8 +298,8 @@ void SAL_CALL rtl_random_destroyPool (rtlRandomPool Pool) SAL_THROW_EXTERN_C()
if(pImpl->m_hDigest) if(pImpl->m_hDigest)
{ {
rtl_digest_destroy (pImpl->m_hDigest); rtl_digest_destroy (pImpl->m_hDigest);
rtl_freeZeroMemory (pImpl, sizeof (RandomPool_Impl));
} }
rtl_freeZeroMemory (pImpl, sizeof (RandomPool_Impl));
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment