Bug 445430

Summary: python-kde3-3.16.0-192.22: undefined C++ code
Product: [openSUSE] openSUSE 11.1 Reporter: David Binderman <dcb314>
Component: OtherAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P5 - None    
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.0   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2008-11-15 17:47:25 UTC
I just checked some of the source code in the Suse Linux factory package
python-kde3-3.16.0-192.22 and I noticed the following

$ egrep "new|delete" ../BUILD/PyKDE-3.16.0/kdecore/sipkdecoreKCmdLineArgs.cpp | fgrep opts
    opts = new KCmdLineOptions [n + 1];
    delete opts;

Suggest replace delete with

        delete [] opts; opts = NULL;
Comment 1 Stephan Binner 2008-11-15 18:15:15 UTC

*** This bug has been marked as a duplicate of bug 442933 ***