Bug 26458 - wx port memory leak in ImageSource::setData
Summary: wx port memory leak in ImageSource::setData
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit wx (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-16 15:10 PDT by Kevin Watters
Modified: 2009-06-16 23:13 PDT (History)
0 users

See Also:


Attachments
adds missing "delete m_decoder" (1.17 KB, patch)
2009-06-16 15:10 PDT, Kevin Watters
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 Watters 2009-06-16 15:10:14 PDT
ImageSource::setData in platform/graphics/wx/ImageSourceWx.cpp assigns the value of createDecoder to m_decoder without deleting an old one, if it's there.
Comment 1 Kevin Watters 2009-06-16 15:10:50 PDT
Created attachment 31380 [details]
adds missing "delete m_decoder"
Comment 2 Kevin Ollivier 2009-06-16 23:13:43 PDT
Landed in r44754, thanks! :)