From 5db6ec77d851b2aa9f22a735d1d2a9a5465759cc Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 18 Sep 2015 13:53:32 +0100 Subject: valgrind: memleak in randompool regression from commit 91457fb326dda7bd1fc6d9e1b3afe0667425121c Author: Norbert Thiebaud Date: Tue Apr 21 20:55:15 2015 -0500 use osl_get_system_random data in rtlRamdomPool Change-Id: Ib5ff6b7fbd08869d9a6dbc1f4df883d701cf765c --- sal/rtl/random.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sal') 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)); } } -- cgit