Changeset 17594 in webkit


Ignore:
Timestamp:
Nov 4, 2006 9:54:30 AM (17 years ago)
Author:
darin
Message:

Change suggested by Mitz.

  • bridge/mac/WebCorePageState.mm: (-[WebCorePageState dealloc]): Add null check. (-[WebCorePageState finalize]): Ditto.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r17592 r17594  
     12006-11-04  Darin Adler  <darin@apple.com>
     2
     3        Change suggested by Mitz.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=11514
     6          REGRESSION (r17438): Repro crash when opening a web archive
     7
     8        * bridge/mac/WebCorePageState.mm:
     9        (-[WebCorePageState dealloc]): Add null check.
     10        (-[WebCorePageState finalize]): Ditto.
     11
    1122006-11-04  Bertrand Guiheneuf <guiheneuf@gmail.com>
    213
  • trunk/WebCore/bridge/mac/WebCorePageState.mm

    r17438 r17594  
    5454- (void)dealloc
    5555{
    56     m_impl->deref();
     56    if (m_impl)
     57        m_impl->deref();
    5758    [super dealloc];
    5859}
     
    6061- (void)finalize
    6162{
    62     m_impl->deref();
     63    if (m_impl)
     64        m_impl->deref();
    6365    [super finalize];
    6466}
Note: See TracChangeset for help on using the changeset viewer.