From faf66519cf92d7998a29b31a93d49780b8dfa28e Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Thu, 5 Sep 2013 15:08:57 +0200 Subject: CID#1078783: fix memory leak Change-Id: I63a244ececcdaba5837b028bc73cbd26e8555aa4 --- registry/source/regimpl.cxx | 1 + 1 file changed, 1 insertion(+) diff --git a/registry/source/regimpl.cxx b/registry/source/regimpl.cxx index 42d3a72c6f42..5ef8cbe79b26 100644 --- a/registry/source/regimpl.cxx +++ b/registry/source/regimpl.cxx @@ -1632,6 +1632,7 @@ RegError ORegistry::dumpValue(const OUString& sPath, const OUString& sName, sal_ fprintf( stdout, "%lu = \"%s\"\n", sal::static_int_cast< unsigned long >(i), pValue); + rtl_freeMemory(pValue); offset += sLen; } } -- cgit