[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdewebdev/quanta
From:       Andras Mantia <amantia () kde ! org>
Date:       2006-09-01 22:01:17
Message-ID: 1157148077.450233.8983.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 579883 by amantia:

Not setting a pointer to 0 after deletion is asking for trouble.
Fix crash in CSS editor.

BUG: 131849

 M  +1 -0      ChangeLog  
 M  +1 -1      components/csseditor/cssselector.cpp  


--- branches/KDE/3.5/kdewebdev/quanta/ChangeLog #579882:579883
@@ -6,6 +6,7 @@
       - symlink handling fixes (hopefully won't break anything)
       - fix Save As problems, possibly #131728
       - add some more special characters to the list [#130513, #124628]
+      - crash fix in CSS editor [#131849]
 
 Version 3.5.4 (Release date: 02-08-2006; Started 24-06-2005):
  - bugfixes:
--- branches/KDE/3.5/kdewebdev/quanta/components/csseditor/cssselector.cpp #579882:579883
@@ -308,7 +308,7 @@
   if( m_currentItem ) {
     m_currentStylesheetStructure.remove(m_currentItem->text(0));
     delete m_currentItem;
-   // m_currentItem = 0L;
+    m_currentItem = 0L;
   }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic