In tests, we've found m_impl->frame->page() to be NULL after detachFromParent() is called, which makes our delete m_impl->frame->page() code to be a no-op and causes the page to leak on shutdown. To fix this, we retain a pointer to the page so that we can delete it on shutdown.
Created attachment 17764 [details] Fix for page leaks in wxWebKit
Comment on attachment 17764 [details] Fix for page leaks in wxWebKit Looks fine. The delete call doesn't need the check for 0, because delete already does that. r=me
landed in r25818