diff options
author | Caolán McNamara <caolanm@redhat.com> | 2013-10-02 20:19:04 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2013-10-02 20:23:58 +0100 |
commit | 9f5e82598fc3d145b83d5c6df0f7b5668408608e (patch) | |
tree | cbd68b5be1c153fd44ecfa245c7a5b8477475c84 | |
parent | e05b3e558b5ff49fd5522389c8b823ac766284e9 (diff) |
CID#705767 memory leak
Change-Id: I73aa4dd524f9d0d9afbf254fc095da93400b2a54
-rw-r--r-- | sw/source/ui/utlui/glbltree.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sw/source/ui/utlui/glbltree.cxx b/sw/source/ui/utlui/glbltree.cxx index e433b955cb14..438e8627bdaa 100644 --- a/sw/source/ui/utlui/glbltree.cxx +++ b/sw/source/ui/utlui/glbltree.cxx @@ -851,6 +851,7 @@ void SwGlobalTree::ExcecuteContextMenuAction( sal_uInt16 nSelectedPopupEntry pSelEntry = PrevSelected(pSelEntry); if(pSelEntry) { + delete pTempContents; pTempContents = new SwGlblDocContents; pActiveShell->GetGlobalDocContent(*pTempContents); } |