diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 13:53:32 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-09-18 14:24:07 +0100 |
commit | 5db6ec77d851b2aa9f22a735d1d2a9a5465759cc (patch) | |
tree | cda7831c1228de6d763081defb91bc6080afff7b /sal | |
parent | 7a77d77effdace1b234062dd7bb035026c893a8b (diff) |
valgrind: memleak in randompool
regression from
commit 91457fb326dda7bd1fc6d9e1b3afe0667425121c
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
Diffstat (limited to 'sal')
-rw-r--r-- | sal/rtl/random.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sal/rtl/random.cxx b/sal/rtl/random.cxx index 48dc886b444f..6a8142ebf11d 100644 --- a/sal/rtl/random.cxx +++ b/sal/rtl/random.cxx @@ -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)); } } |