summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--registry/source/regimpl.cxx1
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;
}
}