diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-17 18:50:27 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-17 19:09:22 +0100 |
commit | d86f114259cfaf3d3f9e02da5d3699926b5ec5bd (patch) | |
tree | 15467b2fb579912938576b0c1a49a9840fdcd3e3 /sc | |
parent | coverity: fix memory leak (diff) | |
download | core-d86f114259cfaf3d3f9e02da5d3699926b5ec5bd.tar.gz core-d86f114259cfaf3d3f9e02da5d3699926b5ec5bd.zip |
coverity: fix memory leak
Change-Id: Idf97e7150617e53ce37ef5a98a7c4582ccc64271
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/ui/Accessibility/AccessibleDocument.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/ui/Accessibility/AccessibleDocument.cxx b/sc/source/ui/Accessibility/AccessibleDocument.cxx index 3d441756c525..e0d17a63dfbc 100644 --- a/sc/source/ui/Accessibility/AccessibleDocument.cxx +++ b/sc/source/ui/Accessibility/AccessibleDocument.cxx @@ -1022,6 +1022,8 @@ void ScChildrenShapes::SetAnchor(const uno::Reference<drawing::XShape>& xShape, if (pData->pAccShape) pData->pAccShape->SetRelationSet(GetRelationSet(pData)); } + else + delete pAddress; } } |