Closed
Bug 283075
Opened 20 years ago
Closed 20 years ago
Allocation/free mismatch in base/import/oexpress/wabobject.cpp
Categories
(SeaMonkey :: MailNews: Address Book & Contacts, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: David.R.Gardiner, Assigned: standard8)
References
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
Running PREfast static code analysis gives the following warnings:
wabobject.cpp(438) : warning 278: Allocation/free mismatch: 'pTag' is allocated
with array new [], but deleted with scalar delete (see allocation at line 432 of
d:\mozilla\mozilla\mailnews\import\oexpress\wabobject.cpp). Destructors will not
be called.
problem occurs in function 'CWAB::GetListProperty'
wabobject.cpp(498) : warning 278: Allocation/free mismatch: 'pTag' is allocated
with array new [], but deleted with scalar delete (see allocation at line 476 of
d:\mozilla\mozilla\mailnews\import\oexpress\wabobject.cpp). Destructors will not
be called.
problem occurs in function 'CWAB::GetUserProperty'
Reproducible: Always
Assignee | ||
Comment 1•20 years ago
|
||
A potential fix to this bug is incorporated in the patch on bug 283071, adding
dependency.
Depends on: 283071
Assignee | ||
Updated•20 years ago
|
Assignee: sspitzer → bugzilla
Assignee | ||
Comment 2•20 years ago
|
||
Timeless checked in the patch on bug 283071 that included the fix for this bug:
2005-03-29 09:19 timeless%mozdev.org mozilla/ mailnews/ import/ outlook/ src/
MapiApi.cpp 1.28 1/1
2005-03-29 09:19 timeless%mozdev.org mozilla/ mailnews/ import/ oexpress/
nsOE5File.cpp 1.18 1/1
2005-03-29 09:19 timeless%mozdev.org mozilla/ mailnews/ import/ oexpress/
WabObject.cpp 1.12 2/2
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Comment 3•20 years ago
|
||
verified via code inspection (that's the best I can do -- david, if you're still
experiencing this, please do reopen, thanks)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•