Author: pfg Date: Fri Nov 27 16:58:02 2015 New Revision: 1716899 URL: http://svn.apache.org/viewvc?rev=1716899&view=rev Log: Resource leak
CID: 736503 Modified: openoffice/trunk/main/sw/source/core/crsr/findattr.cxx Modified: openoffice/trunk/main/sw/source/core/crsr/findattr.cxx URL: http://svn.apache.org/viewvc/openoffice/trunk/main/sw/source/core/crsr/findattr.cxx?rev=1716899&r1=1716898&r2=1716899&view=diff ============================================================================== --- openoffice/trunk/main/sw/source/core/crsr/findattr.cxx (original) +++ openoffice/trunk/main/sw/source/core/crsr/findattr.cxx Fri Nov 27 16:58:02 2015 @@ -480,6 +480,7 @@ int SwAttrCheckArr::SetAttrFwd( const Sw else break; } + delete pIter; return Found(); } @@ -639,6 +640,7 @@ int SwAttrCheckArr::SetAttrBwd( const Sw else break; } + delete pIter; return Found(); }