Bug 444975

Summary: libqca2-2.0.1-1.32: 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-14 09:26:20 UTC
I just checked some of the source code in the Suse Linux factory package
libqca2-2.0.1-1.32 and I noticed the following

$ egrep "new|delete" ../BUILD/qca-2.0.1/plugins/qca-cyrus-sasl-2.0.0-beta3/qca-cyrus-sasl.cpp | fgrep callbacks
                        delete callbacks;
                callbacks = new sasl_callback_t[5];

Suggest replace the delete with

                        delete [] callbacks; callbacks = NULL;
Comment 1 Stephan Binner 2008-11-14 09:28:33 UTC

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