summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKohei Yoshida <kohei.yoshida@gmail.com>2012-03-15 15:08:53 -0400
committerKohei Yoshida <kohei.yoshida@gmail.com>2012-03-15 15:41:23 -0400
commitb9880a798a841e9acd7b7fbc24eac14ed49459b2 (patch)
treebc9b1d60a827153c2e01e19690b685d66319d4f1
parentfd05423b758b59451be3c250931f334011079343 (diff)
Fixed memory leak.
-rw-r--r--sc/source/core/data/dpitemdata.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/data/dpitemdata.cxx b/sc/source/core/data/dpitemdata.cxx
index 5b89aef6e3b6..7c5bae5eabd7 100644
--- a/sc/source/core/data/dpitemdata.cxx
+++ b/sc/source/core/data/dpitemdata.cxx
@@ -223,6 +223,7 @@ bool ScDPItemData::operator< (const ScDPItemData& r) const
ScDPItemData& ScDPItemData::operator= (const ScDPItemData& r)
{
+ DisposeString();
meType = r.meType;
switch (r.meType)
{