[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdelibs/khtml/dom
From: Dirk Mueller <mueller () kde ! org>
Date: 2006-07-14 8:49:38
Message-ID: 1152866978.369528.16958.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 562182 by mueller:
now that people blog about how easy it is to crash,
lets just fix it
M +1 -1 dom_node.cpp
--- branches/KDE/3.5/kdelibs/khtml/dom/dom_node.cpp #562181:562182
@@ -273,7 +273,7 @@
NodeImpl *r = impl->replaceChild( newChild.impl, oldChild.impl, exceptioncode );
if (exceptioncode)
throw DOMException(exceptioncode);
- if (!newChild.impl->closed()) newChild.impl->close();
+ if (newChild.impl && !newChild.impl->closed()) newChild.impl->close();
return r;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic