Ticket #106: WindowBal-refptr.2.patch

File WindowBal-refptr.2.patch, 1.3 kB (added by jchaffraix, 1 year ago)

Correct the previous 'invalid write'

  • a/branches/Blastoise/WebKit/ChangeLog

    old new  
     12007-12-11  Julien Chaffraix  <julien.chaffraix@gmail.com> 
     2 
     3        Reviewed by NOBODY (OOPS!). 
     4 
     5        * OrigynWebBrowser/Api/WindowBal.cpp:  
     6        (BAL::WindowBal::~WindowBal): 
     7 
     8        removed explicit free as we are using a RefPtr for m_mainframe 
     9        Valgrind shows no more read/write error in BAL::WindowBal::~WindowBal() and no significant memory consumption increase 
     10 
    1112007-10-25  David Hyatt  <hyatt@apple.com> 
    212 
    313        Fix for bug 15672, backgrounds don't tile properly inside transforms.  This patch fixes tiling 
  • a/branches/Blastoise/WebKit/OrigynWebBrowser/Api/WindowBal.cpp

    old new  
    116116#ifndef NDEBUG 
    117117    m_mainFrame->cancelAllKeepAlive(); 
    118118#endif //NDEBUG 
    119     Frame * f = m_mainFrame.get(); 
    120     delete f; 
    121     f=0; 
    122      
    123119    m_mainFrame = 0; 
    124120    // how do we release WebCore::allPages ? 
    125121}