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 appears to be used in XPCOM in the following files: /xpcom/io/SpecialSystemDirectory.cpp, line 197 -- if (!SUCCEEDED(SHGetMalloc(&pMalloc))) /xpcom/obsolete/nsSpecialSystemDirectory.cpp, line 216 -- if (!SUCCEEDED(SHGetMalloc(&pMalloc)))
Created attachment 176125 [details] [diff] [review] Use CoTaskMemAlloc and CoTaskMemFree
Assignee: dougt → david.gardiner
Status: NEW → ASSIGNED
Attachment #176125 - Flags: review?(dougt)
Comment on attachment 176125 [details] [diff] [review] Use CoTaskMemAlloc and CoTaskMemFree r=dougt Thanks for the patch. Do you need someone to check this in?
Attachment #176125 - Flags: review?(dougt) → review+
Yes please! -dave
Did this ever get checked in?
This was fixed for the patch for bug 359808.
Status: ASSIGNED → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9alpha
You need to log in before you can comment on or make changes to this bug.