|
Bugzilla – Full Text Bug Listing |
| Summary: | pgcalc-2.2-263.16: ten * undefined C++ code | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | David Binderman <dcb314> |
| Component: | Other | Assignee: | E-mail List <bnc-team-screening> |
| Status: | RESOLVED DUPLICATE | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Minor | ||
| Priority: | P5 - None | ||
| Version: | Factory | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | openSUSE 11.0 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
*** This bug has been marked as a duplicate of bug 442933 *** |
I just checked some of the source code in the Suse Linux factory package pgcalc-2.2-263.16 and I noticed the following $ egrep "new|delete" ../BUILD/pgcalc2-2.2-6/src/amatrix.cpp | fgrepCells Cells = new CComplex[ Rows * Cols ]; Cells = new CComplex[ Rows * Cols ]; Cells = new CComplex[ Rows * Cols ]; delete Cells; Cells = new CComplex[ ACol * ARow ]; delete Cells; delete Cells; delete Cells; delete Cells; delete Cells; delete Cells; delete Cells; delete Cells; delete Cells; Cells = new CComplex[ Cols * Rows ]; Suggest replace all ten deletes with delete [] Cells; Cells = NULL;