Summary: | Two memory leak fixes | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Kevin Ollivier <kevino> | ||||
Component: | WebKit wx | Assignee: | Kevin Ollivier <kevino> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mrowe | ||||
Priority: | P2 | Keywords: | Wx | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Attachments: |
|
Description
Kevin Ollivier
2008-08-24 19:34:39 PDT
Created attachment 22972 [details]
fix a couple memleaks in wx port
Comment on attachment 22972 [details]
fix a couple memleaks in wx port
You appear to have a duplicate ChangeLog entry for WebKit/wx, and some coding style issues in the WebCore portion of your change (extra whitespace inside ()'s.
May I suggest that you use OwnPtrs in both instances here, after changing the malloc to a "new", rather than the manual delete + free? It'll help avoid these sorts of leaks in the future.
The manual ATSUDisposeStyle would still be needed of course, but with a C++-style cast.
Comment on attachment 22972 [details]
fix a couple memleaks in wx port
r=me
|