Closed Bug 321031 Opened 19 years ago Closed 15 years ago

os2Embed CreateBrowserWindow can leak in some failure cases

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
OS/2
defect
Not set
trivial

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: timeless, Assigned: mkaply)

References

()

Details

(Keywords: memory-leak)

I'm sorta auditing impls of CreateChromeWindow, and yours leaks (which is probably better than crashing).

I'm also not certain that the general refcounting is correct for this object. for bonus points, report OOM using NS_ERROR_OUT_OF_MEMORY instead of NS_ERROR_FAILURE
This code is literally copied straight out of winEmbed.cpp.

Is there a bug for that?
So this is the OS/2 version of bug 321032 for Windows. If anybody ever fixes that we can then take that fix...
Depends on: 321032
We are going to remove os2Embed in bug 507461. --> WONTFIX
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.