Bugzilla – Bug 443736
kdepim3-3.5.10-7.28: 2 * call to wrong C++ delete
Last modified: 2008-11-11 12:54:41 UTC
I just checked some of the source code in the Suse Linux factory package kdepim3-3.5.10-7.28 and I noticed the following $ egrep "new|delete" ../BUILD/kdepim-3.5.10/kaddressbook/xxport/pab_mapihd.cpp _mem=new byte[size]; m_W=new word_t[m_N+1]; delete _mem; delete m_W; The two delete lines look wrong. Suggest new code like delete [] _mem; _mem = NULL; delete [] m_W; m_W = NULL;
*** This bug has been marked as a duplicate of bug 442933 ***