diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-15 22:11:29 +0100 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2013-02-15 22:33:18 +0100 |
commit | be64af3722e919f2a218f444daa04c4a70eb449c (patch) | |
tree | 18679fa128583f5c3a74f10dacf71c0b53f12ae2 /sc | |
parent | e4bd11d8b1cafdddf7a04113980f048f15d2521b (diff) |
coverity: fix memory leak
Change-Id: If5bd111bbf4c1df8e790f229165c682ecc0ed3b7
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx index 385431aa9f50..f5d8ce12e1e9 100644 --- a/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx +++ b/sc/source/filter/xml/XMLChangeTrackingImportHelper.cxx @@ -405,6 +405,7 @@ void ScXMLChangeTrackingImportHelper::AddGenerated(ScMyCellInfo* pCellInfo, cons } else { + delete pGenerated; OSL_FAIL("try to insert a generated action to a wrong action"); } } |