Closed Bug 519813 Opened 15 years ago Closed 15 years ago

IPDL unions need to follow C++ construction/destruction rules

Categories

(Core :: IPC, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bent.mozilla, Assigned: cjones)

References

Details

Attachments

(1 file)

xul.dll!ReleaseData(void * data=0xcdcdcdcd, unsigned int flags=0xcdcdcdcd) Line 116 + 0x13 bytes C++ xul.dll!nsACString_internal::Assign(const nsACString_internal & str={...}) Line 409 + 0x12 bytes C++ > xul.dll!nsCString::operator=(const nsCString & str={...}) Line 106 + 0x12 bytes C++ xul.dll!mozilla::plugins::Variant::operator=(const nsCString & aRhs={...}) Line 317 C++ Looks like the default constructor for nsCString was never called. And cjones says that the old type needs to be placement-destructor'd too.
Blocks: 516524
Depends on: 506171
Not a serious patch, just a memory-leaking workaround until the real fix is ready.
Status: NEW → 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: