valgrind: memleak in randompool
regression from
commit 91457fb326
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
This commit is contained in:
@@ -298,8 +298,8 @@ void SAL_CALL rtl_random_destroyPool (rtlRandomPool Pool) SAL_THROW_EXTERN_C()
|
||||
if(pImpl->m_hDigest)
|
||||
{
|
||||
rtl_digest_destroy (pImpl->m_hDigest);
|
||||
rtl_freeZeroMemory (pImpl, sizeof (RandomPool_Impl));
|
||||
}
|
||||
rtl_freeZeroMemory (pImpl, sizeof (RandomPool_Impl));
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user