Commited by Tim Hatcher.
- fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5484
REGRESSION: reproducible crash in CachedCSSStyleSheet::setCharset
* khtml/misc/loader.cpp:
(CachedCSSStyleSheet::setCharset):
(CachedScript::setCharset):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10937
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2005-10-24 Alexey Proskuryakov <ap@nypop.com>
+
+ Reviewed by Darin Adler.
+ Commited by Tim Hatcher.
+
+ - fixes http://bugzilla.opendarwin.org/show_bug.cgi?id=5484
+ REGRESSION: reproducible crash in CachedCSSStyleSheet::setCharset
+
+ * khtml/misc/loader.cpp:
+ (CachedCSSStyleSheet::setCharset):
+ (CachedScript::setCharset):
+
2005-10-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin. Committed by David Harrison.
{
if (!chs.isEmpty()) {
QTextCodec *codec = QTextCodec::codecForName(chs.latin1());
- if (codec) {
- delete m_codec;
+ if (codec)
m_codec = codec;
- }
}
}
{
if (!chs.isEmpty()) {
QTextCodec *codec = QTextCodec::codecForName(chs.latin1());
- if (codec) {
- delete m_codec;
+ if (codec)
m_codec = codec;
- }
}
}