Author: pfg Date: Sun Nov 29 20:35:06 2015 New Revision: 1717118 URL: http://svn.apache.org/viewvc?rev=1717118&view=rev Log: Resource Leak
CID: 705767 Modified: openoffice/trunk/main/sw/source/ui/utlui/glbltree.cxx Modified: openoffice/trunk/main/sw/source/ui/utlui/glbltree.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/ui/utlui/glbltree.cxx?rev=1717118&r1=1717117&r2=1717118&view=diff ============================================================================== --- openoffice/trunk/main/sw/source/ui/utlui/glbltree.cxx (original) +++ openoffice/trunk/main/sw/source/ui/utlui/glbltree.cxx Sun Nov 29 20:35:06 2015 @@ -952,6 +952,7 @@ void SwGlobalTree::ExcecuteContextMen pSelEntry = PrevSelected(pSelEntry); if(pSelEntry) { + delete pTempContents; pTempContents = new SwGlblDocContents; pActiveShell->GetGlobalDocContent(*pTempContents); }