Closed Bug 485598 Opened 15 years ago Closed 15 years ago

nsImageRequestProxy violates XPCOM calling conventions

Categories

(Core :: Graphics: ImageLib, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: neil, Assigned: neil)

Details

Attachments

(1 file)

GetMimeType should use NS_strdup, not nsCRT::strdup, for its outparam.
Attached patch Proposed patchSplinter Review
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #369738 - Flags: superreview?(jag)
Attachment #369738 - Flags: review?(joe)
Attachment #369738 - Flags: superreview?(jag) → superreview+
Comment on attachment 369738 [details] [diff] [review]
Proposed patch

You can probably remove the nsCRT.h include then.
Comment on attachment 369738 [details] [diff] [review]
Proposed patch

Does this cause real bugs, or is it just a correctness issue?
Attachment #369738 - Flags: review?(joe) → review+
It might help us enable jemalloc on the Mac.
Pushed changeset 5078614a3c1f to mozilla-central.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: