Commit b9e5d1cf authored by andersca@apple.com's avatar andersca@apple.com

2008-04-15 Anders Carlsson <andersca@apple.com>

        Fix leaks seen on bot.
        
        * loader/SubstituteResource.h:
        (WebCore::SubstituteResource::~SubstituteResource):
        Add a virtual destructor.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31927 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 663eda1c
2008-04-15 Anders Carlsson <andersca@apple.com>
Fix leaks seen on bot.
* loader/SubstituteResource.h:
(WebCore::SubstituteResource::~SubstituteResource):
Add a virtual destructor.
2008-04-15 Brady Eidson <beidson@apple.com>
Reviewed by Anders Carlsson
......@@ -38,6 +38,8 @@ namespace WebCore {
class SubstituteResource : public RefCounted<SubstituteResource> {
public:
virtual ~SubstituteResource() { }
const KURL& url() const { return m_url; }
const ResourceResponse& response() const { return m_response; }
SharedBuffer* data() const { return m_data.get(); }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment