Bug 44738 - SWIG wants explicit destructors for C++ DOM bindings
: SWIG wants explicit destructors for C++ DOM bindings
Status: RESOLVED FIXED
: WebKit
WebCore Misc.
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
: Wx
:
:
  Show dependency treegraph
 
Reported: 2010-08-26 18:20 PST by
Modified: 2010-08-28 16:10 PST (History)


Attachments
Add explicit destructor to C++ DOM bindings (1.16 KB, patch)
2010-08-26 18:23 PST, Kevin Ollivier
kevino: review+
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-08-26 18:20:25 PST
The SWIG wrapper tool I'm using to generate Python bindings from the C++ DOM bindings requires an explicit destructor to be declared in order to ensure proper destruction. Without this, SWIG will generate (lots of) memory leak warnings.
------- Comment #1 From 2010-08-26 18:23:09 PST -------
Created an attachment (id=65656) [details]
Add explicit destructor to C++ DOM bindings
------- Comment #2 From 2010-08-28 16:07:27 PST -------
Landed in r66316.
------- Comment #3 From 2010-08-28 16:10:37 PST -------
(From update of attachment 65656 [details])
LGTM, r=me.