Bug 44738 - SWIG wants explicit destructors for C++ DOM bindings
Summary: SWIG wants explicit destructors for C++ DOM bindings
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: Wx
Depends on:
Blocks:
 
Reported: 2010-08-26 18:20 PDT by Kevin Ollivier
Modified: 2010-08-28 16:10 PDT (History)
0 users

See Also:


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

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Ollivier 2010-08-26 18:20:25 PDT
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 Kevin Ollivier 2010-08-26 18:23:09 PDT
Created attachment 65656 [details]
Add explicit destructor to C++ DOM bindings
Comment 2 Kevin Ollivier 2010-08-28 16:07:27 PDT
Landed in r66316.
Comment 3 Nikolas Zimmermann 2010-08-28 16:10:37 PDT
Comment on attachment 65656 [details]
Add explicit destructor to C++ DOM bindings

LGTM, r=me.