WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
45704
Potential leak in JSSVGDynamicPODTypeWrapper
https://bugs.webkit.org/show_bug.cgi?id=45704
Summary
Potential leak in JSSVGDynamicPODTypeWrapper
Alexey Proskuryakov
Reported
2010-09-13 13:35:09 PDT
JSSVGDynamicPODTypeWrapper inherits from RefCounted (via JSSVGPODTypeWrapper), but RefCounted will not call its virtual destructor. So, data members of JSSVGDynamicPODTypeWrapper will not be destructed in the normal course of RefCounted lifetime. I think the original issue is that JSSVGPODTypeWrapper should not have inherited from RefCounted, and then someone fell into the trap of actually doing meaningful work in the destructor.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-01-28 05:06:47 PST
@Alexey - Is this applicable anymore? I couldn't find any references to this in our code base? It seems this commit removed it -
https://github.com/WebKit/WebKit/commit/4d739154052f4dda48b5cd06e09c0d896955c568
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug