summaryrefslogtreecommitdiffstats
path: root/registry
diff options
context:
space:
mode:
authorMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-05 15:08:57 +0200
committerMarkus Mohrhard <markus.mohrhard@googlemail.com>2013-09-05 15:41:50 +0200
commitfaf66519cf92d7998a29b31a93d49780b8dfa28e (patch)
tree5df8a7df288be3eb6d2ef632ec6bffe6c3bfe32b /registry
parentCID#1078784 and CID#1078785 fix memory leaks (diff)
downloadcore-faf66519cf92d7998a29b31a93d49780b8dfa28e.tar.gz
core-faf66519cf92d7998a29b31a93d49780b8dfa28e.zip
CID#1078783: fix memory leak
Change-Id: I63a244ececcdaba5837b028bc73cbd26e8555aa4
Diffstat (limited to 'registry')
-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;
}
}