diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-06 20:21:59 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-07 09:16:27 +0100 |
commit | 362304cbd8ab2a209dbce7377b2742aa7e430729 (patch) | |
tree | f9a6da6e40214aadacdb67cc382ecc65f8874f4d | |
parent | b86343eaac52c1508cc651998b23b31c9180c8a7 (diff) |
CID#1028072 leak undo in corner case
Change-Id: If2371a25c9030c13617df692e82729090280d8f0
-rw-r--r-- | sd/source/ui/view/sdview.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sd/source/ui/view/sdview.cxx b/sd/source/ui/view/sdview.cxx index 9b165c672be8..5483746bbe6e 100644 --- a/sd/source/ui/view/sdview.cxx +++ b/sd/source/ui/view/sdview.cxx @@ -1408,6 +1408,8 @@ void View::ChangeMarkedObjectsBulletsNumbering( pSdrModel->AddUndo(pUndoGroup); pSdrModel->EndUndo(); } + else + delete pUndoGroup; delete pOutliner; delete pOutlinerView; |