Bug 445437

Summary: qca-sasl-1.0-221.16: 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 19:20:49 UTC
I just checked some of the source code in the Suse Linux factory package
qca-sasl-1.0-221.16 and I noticed the following

$ egrep "new |delete" ../BUILD/qca-sasl-1.0/qca-sasl.cpp | fgrep callbacks
                        delete callbacks;
                callbacks = new sasl_callback_t[5];
                callbacks = new sasl_callback_t[2];

Suggest replace delete with

                        delete [] callbacks; callbacks = NULL;
Comment 1 Stephan Binner 2008-11-16 09:38:07 UTC

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