[SCM] WebKit Debian packaging branch, debian/unstable, updated. debian/1.1.15-1-40151-g37bb677
hyatt
hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Sat Sep 26 08:26:34 UTC 2009
The following commit has been merged in the debian/unstable branch:
commit 71af6deff60fed4142016d55799cfcac3d9586df
Author: hyatt <hyatt at 268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Feb 12 23:58:03 2004 +0000
Fix for 3557850 and 3557607. Make sure to setParent(0) on the body's link declaration, so that TreeShared
will delete it.
* khtml/html/html_baseimpl.cpp:
(HTMLBodyElementImpl::~HTMLBodyElementImpl):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@6082 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog-2005-08-23 b/WebCore/ChangeLog-2005-08-23
index 340ba5c..957982b 100644
--- a/WebCore/ChangeLog-2005-08-23
+++ b/WebCore/ChangeLog-2005-08-23
@@ -1,3 +1,11 @@
+2004-02-12 David Hyatt <hyatt at apple.com>
+
+ Fix for 3557850 and 3557607. Make sure to setParent(0) on the body's link declaration, so that TreeShared
+ will delete it.
+
+ * khtml/html/html_baseimpl.cpp:
+ (HTMLBodyElementImpl::~HTMLBodyElementImpl):
+
2004-02-12 Ken Kocienda <kocienda at apple.com>
Reviewed by Hyatt
diff --git a/WebCore/khtml/html/html_baseimpl.cpp b/WebCore/khtml/html/html_baseimpl.cpp
index c95a0cc..3f3f16a 100644
--- a/WebCore/khtml/html/html_baseimpl.cpp
+++ b/WebCore/khtml/html/html_baseimpl.cpp
@@ -55,8 +55,10 @@ HTMLBodyElementImpl::HTMLBodyElementImpl(DocumentPtr *doc)
HTMLBodyElementImpl::~HTMLBodyElementImpl()
{
- if (m_linkDecl)
+ if (m_linkDecl) {
+ m_linkDecl->setParent(0);
m_linkDecl->deref();
+ }
}
NodeImpl::Id HTMLBodyElementImpl::id() const
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list