Commit aae55e2f authored by darin's avatar darin

Change suggested by Mitz.

        - fix http://bugs.webkit.org/show_bug.cgi?id=11514
          REGRESSION (r17438): Repro crash when opening a web archive

        * bridge/mac/WebCorePageState.mm:
        (-[WebCorePageState dealloc]): Add null check.
        (-[WebCorePageState finalize]): Ditto.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@17594 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 68ae4294
2006-11-04 Darin Adler <darin@apple.com>
Change suggested by Mitz.
- fix http://bugs.webkit.org/show_bug.cgi?id=11514
REGRESSION (r17438): Repro crash when opening a web archive
* bridge/mac/WebCorePageState.mm:
(-[WebCorePageState dealloc]): Add null check.
(-[WebCorePageState finalize]): Ditto.
2006-11-04 Bertrand Guiheneuf <guiheneuf@gmail.com>
Reviewed by Maciej, tweaked and landed by Alexey (using a patch by Don Gibson).
......@@ -53,13 +53,15 @@ using namespace WebCore;
- (void)dealloc
{
m_impl->deref();
if (m_impl)
m_impl->deref();
[super dealloc];
}
- (void)finalize
{
m_impl->deref();
if (m_impl)
m_impl->deref();
[super finalize];
}
......
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