From kde-commits Sat Apr 14 17:43:18 2001 From: CVS by knoll Date: Sat, 14 Apr 2001 17:43:18 +0000 To: kde-commits Subject: kdelibs/khtml/dom X-MARC-Message: https://marc.info/?l=kde-commits&m=98727031119914 kdelibs/khtml/dom dom2_range.cpp,1.29,1.30 Author: knoll Sat Apr 14 17:43:18 UTC 2001 In directory cvs.kde.org:/var/tmp/cvs-serv27191/dom Modified Files: dom2_range.cpp Log Message: use a smart pointer for the document in all *Impl classes. Fixes the about page crash, and hopefully a lot of other places, where the document could have been accessed after it actually got deleted. I hope I haven't overlooked any places where one would need to check for a NULL pointer, but if yes, you'll find out ;-)