[tools-issues] [Issue 106602] cppcheck warnings

2010-03-10 Thread dcb314
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=106602 --- Additional comments from dcb...@openoffice.org Wed Mar 10 12:26:30 + 2010 --- New version 1.41 of cppcheck March 7 2010. There are a few new messages it

[tools-issues] [Issue 106602] suggest use of new tool c ppcheck

2009-11-04 Thread dcb314
to|mh Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Wed Nov 4 12:26:59 + 2009 --- I've found the following tool useful for finding a range of problems in C and C++ code http://sourceforge.net/projects/cppcheck/ Indeed, I've submitted a few

[tools-issues] [Issue 106575] box-base.cxx: use of eras ed data

2009-11-03 Thread dcb314
Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Tue Nov 3 11:54:25 + 2009 --- For source code file toolkit/source/layout/core/box-base.cxx, function Box_Base::removeChildData, is the following code for ( std::list ChildData* ::iterator

[sw-issues] [Issue 106576] wbutton.cxx: bad call to erase

2009-11-03 Thread dcb314
to|writerneedsconfirm Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Tue Nov 3 12:02:05 + 2009 --- For source code file toolkit/source/layout/vcl/wbutton.cxx, function Remove, around line 500 is the following code for ( std::list Window

[xml-issues] [Issue 106477] xmerge: XMergeFilter.cpp: memory leak

2009-10-30 Thread dcb314
to|mba Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Oct 30 10:54:04 + 2009 --- For source code file xmerge/source/activesync/XMergeFilter.cpp, there is a memory leak for local variable szJavaHome around line 380. The source code

[ucb-issues] [Issue 106478] ucb: ftpurl.cxx: memory l eak

2009-10-30 Thread dcb314
Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Oct 30 10:58:26 + 2009 --- For source code file ucb/source/ucp/ftp/ftpurl.cxx, I notice the following code char *buffer = new char[1+aIdent.getLength()]; const char* p2 = aIdent.getStr

[sw-issues] [Issue 106481] sw: docxattributeoutput.c xx: 2 * bad call to erase

2009-10-30 Thread dcb314
Assigned to|ama Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Oct 30 11:20:44 + 2009 --- For source code file sw/source/filter/ww8/docxattributeoutput.cxx, function DocxAttributeOutput::EndRun, around line 351 is the code

[framework-issues] [Issue 106430] binfilter: sch_docshell.c xx: 2 * possible null pointer dereference

2009-10-29 Thread dcb314
Priority|P3 Subcomponent|code Assigned to|mba Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Thu Oct 29 11:34:42 + 2009 --- For source code file binfilter/bf_sch/source/ui/docshell/sch_docshell.cxx, around line 641 is source

[installation-issues] [Issue 106431] ulfconv.cxx: resource lea k

2009-10-29 Thread dcb314
to|of Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Thu Oct 29 11:50:44 + 2009 --- For source code file setup_native/source/ulfconv/ulfconv.cxx, around line 164 is the source code line FILE * fp = fopen(file, r); I fail to find a matching call

[framework-issues] [Issue 103767] filter: hwpfilter/source/ cspline.cpp: memory leak

2009-07-24 Thread dcb314
Assigned to|mba Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Jul 24 08:38:02 + 2009 --- For the source code file hwpfilter/source/cspline.cpp, around line 131 is the source code double* h = new double[N]; The matching delete [] h

[tools-issues] [Issue 103768] soltools/mkdepend/main.c: resource leak

2009-07-24 Thread dcb314
to|hjs Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Jul 24 09:00:47 + 2009 --- For source code file soltools/mkdepend/main.c, around line 660 is the source code for function redirect. I can see source code line if ((fdin = fopen

[porting-issues] [Issue 103769] stoc/source/invocation/in vocation.cxx: memory leak

2009-07-24 Thread dcb314
Assigned to|mh Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Jul 24 09:07:44 + 2009 --- Around line 800 of the above file is the source code MemberItem* pItems = new MemberItem[ nTotalCount ]; I can't see the matching

[tools-issues] [Issue 103770] tools/workben/solar.c: mi ssing call to fclose

2009-07-24 Thread dcb314
Assigned to|mh Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Fri Jul 24 09:16:40 + 2009 --- For the source code file tools/workben/solar.c, around line 340 is the source code FILE* f = fopen( name, w ); I can't see a matching call to fclose, so

[tools-issues] [Issue 103749] cpputools/source/regcompl azy/regcomplazy.cxx: resource leak

2009-07-23 Thread dcb314
Subcomponent|code Assigned to|mh Reported by|dcb314 --- Additional comments from dcb...@openoffice.org Thu Jul 23 17:16:40 + 2009 --- I just had my first look at the source code of Open Office. For source code file cpputools/source/regcomplazy