Mailinglist Archive: opensuse-bugs (16621 mails)

< Previous Next >
[Bug 445062] New: mvapich2-0.9.8-125.4: 5 * undefined C++ code
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Fri, 14 Nov 2008 05:14:07 -0700 (MST)
  • Message-id: <bug-445062-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=445062


Summary: mvapich2-0.9.8-125.4: 5 * undefined C++ code
Product: openSUSE 11.1
Version: Factory
Platform: All
OS/Version: openSUSE 11.0
Status: NEW
Severity: Minor
Priority: P5 - None
Component: Other
AssignedTo: bnc-team-screening@xxxxxxxxxxxxxxxxxxxxxx
ReportedBy: dcb314@xxxxxxxxxxx
QAContact: qa@xxxxxxx
Found By: ---


I just checked some of the source code in the Suse Linux factory package
mvapich2-0.9.8-125.4 and I noticed the following

$ egrep "new|delete" ../BUILD/mvapich2-0.9.8/src/pm/smpd/smpd_adreg.cpp | fgrep
pwszComputerName
pwszComputerName = new WCHAR[dwLen + 1];
delete pwszComputerName;
delete pwszComputerName;
delete pwszComputerName;
pwszComputerName = new WCHAR[dwLen + 1];
delete pwszComputerName;
pwszComputerName = new WCHAR[dwLen + 1];
delete pwszComputerName;

Suggest replace each of the five deletes with

delete [] pwszComputerName; pwszComputerName = NULL;


--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

< Previous Next >