Closed
Bug 284333
Opened 20 years ago
Closed 20 years ago
SHGetMalloc API call is deprecated (in nsIEProfileMigrator.cpp)
Categories
(Core Graveyard :: Profile: Migration, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: David.R.Gardiner, Assigned: David.R.Gardiner)
References
Details
Attachments
(1 file)
|
1.19 KB,
patch
|
mconnor
:
review+
|
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:
/browser/components/migration/src/nsIEProfileMigrator.cpp, line 1236 -- result =
SHGetMalloc(&pMalloc);
-dave
| Assignee | ||
Comment 1•20 years ago
|
||
Assignee: nobody → david.gardiner
Status: NEW → ASSIGNED
Attachment #176128 -
Flags: review?(mconnor)
Comment 2•20 years ago
|
||
Comment on attachment 176128 [details] [diff] [review]
Use CoTaskMemFree to release memory
looks good, I'll try to land this soon.
Attachment #176128 -
Flags: review?(mconnor) → review+
Comment 3•20 years ago
|
||
checked in using ::CoTaskMemFree per prevailing module style.
Thanks!
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•