Closed
Bug 284329
Opened 19 years ago
Closed 18 years ago
SHGetMalloc API call is deprecated (in setup.c)
Categories
(Firefox :: Installer, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: David.R.Gardiner, Assigned: David.R.Gardiner)
References
Details
Attachments
(1 file, 1 obsolete file)
1.36 KB,
patch
|
Details | Diff | Splinter Review |
According to the MSDN documentation (http://msdn.microsoft.com/library/en-us/shellcc/platform/shell/reference/functions/shgetmalloc.asp) "This function should no longer be used. Use the CoTaskMemFree and CoTaskMemAlloc functions in its place" This is used in: /toolkit/mozapps/installer/windows/wizard/setup/dialogs.c, line 653 -- if (SUCCEEDED(SHGetMalloc(&shellMalloc))) { Though I note that current the code is #ifdef'd not to compile, and a comment indicates that a memory leak results. Hope I've picked the right component (sorry if i chose wrong) -dave
Assignee | ||
Comment 1•19 years ago
|
||
Assignee: general → david.gardiner
Status: NEW → ASSIGNED
Attachment #176127 -
Flags: review?(benjamin)
Updated•19 years ago
|
Attachment #176127 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 2•19 years ago
|
||
Comment on attachment 176127 [details] [diff] [review] Use CoTaskMemFree to release memory Happy to have someone check this in. -dave
Attachment #176127 -
Flags: superreview?(benjamin)
Updated•19 years ago
|
Attachment #176127 -
Flags: superreview?(benjamin)
Comment 3•19 years ago
|
||
Reassigning to Neil for seamonkey management.
Assignee: david.gardiner → neil.parkwaycc.co.uk
Status: ASSIGNED → NEW
Updated•19 years ago
|
Assignee: neil.parkwaycc.co.uk → david.gardiner
Flags: review+
Product: Mozilla Application Suite → Firefox
Assignee | ||
Comment 4•19 years ago
|
||
Updated against latest version
Attachment #176127 -
Attachment is obsolete: true
Attachment #184546 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 5•19 years ago
|
||
Comment on attachment 184546 [details] [diff] [review] Use CoTaskMemFree to release memory Sorry, I don't know installers.
Updated•18 years ago
|
Version: unspecified → 1.5.0.x Branch
Comment 6•18 years ago
|
||
With the change to the NSIS installer, it's gone.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Updated•18 years ago
|
Attachment #184546 -
Flags: review?(neil)
You need to log in
before you can comment on or make changes to this bug.
Description
•