Closed
Bug 283067
Opened 19 years ago
Closed 19 years ago
Allocation/free mismatch in base/search/src/nsMsgSearchAdapter.cpp
Categories
(SeaMonkey :: MailNews: Message Display, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: David.R.Gardiner, Assigned: mikael)
References
Details
Attachments
(1 file)
6.02 KB,
patch
|
mscott
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
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 warning: nsmsgsearchadapter.cpp(739) : warning 283: Allocation/free mismatch: 'arbitraryHeader' is allocated with array new [], but deleted with scalar delete (see allocation at line 543 of d:\mozilla\mozilla\mailnews\base\search\src\nsmsgsearchadapter.cpp). problem occurs in function 'nsMsgSearchAdapter::EncodeImapTerm' Reproducible: Always Steps to Reproduce:
Reporter | ||
Comment 1•19 years ago
|
||
and also this one too: nsmsgsearchadapter.cpp(845) : warning 283: Allocation/free mismatch: 'totalEncoding' is allocated with array new [], but deleted with scalar delete (see allocation at line 814 of d:\mozilla\mozilla\mailnews\base\search\src\nsmsgsearchadapter.cpp). problem occurs in function 'nsMsgSearchAdapter::EncodeImap'
Assignee | ||
Comment 2•19 years ago
|
||
Assignee: sspitzer → mikael
Status: NEW → ASSIGNED
Attachment #179493 -
Flags: superreview?(bienvenu)
Attachment #179493 -
Flags: review?(2mozilla)
Assignee | ||
Updated•19 years ago
|
Attachment #179493 -
Flags: review?(2mozilla) → review?(ducarroz)
Updated•19 years ago
|
Attachment #179493 -
Flags: superreview?(bienvenu) → superreview+
Updated•19 years ago
|
Attachment #179493 -
Flags: review?(ducarroz) → review?(mscott)
Updated•19 years ago
|
Attachment #179493 -
Flags: review?(mscott) → review+
Comment 3•19 years ago
|
||
Checking in mailnews/base/search/src/nsMsgSearchAdapter.cpp; /cvsroot/mozilla/mailnews/base/search/src/nsMsgSearchAdapter.cpp,v <-- nsMsgSearchAdapter.cpp new revision: 1.77; previous revision: 1.76 done
Assignee | ||
Updated•19 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Component: MailNews: Search → MailNews: Message Display
QA Contact: search
You need to log in
before you can comment on or make changes to this bug.
Description
•