diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-05 15:08:57 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-09-05 15:41:50 +0200 |
commit | faf66519cf92d7998a29b31a93d49780b8dfa28e (patch) | |
tree | 5df8a7df288be3eb6d2ef632ec6bffe6c3bfe32b /registry | |
parent | e340b88484905600d10ef553b4ee077278e5be0b (diff) |
CID#1078783: fix memory leak
Change-Id: I63a244ececcdaba5837b028bc73cbd26e8555aa4
Diffstat (limited to 'registry')
-rw-r--r-- | registry/source/regimpl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
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; } } |