Bug 444569 - kradio-1.0beta3b_20060920-225.18 : undefined C++ code
Summary: kradio-1.0beta3b_20060920-225.18 : undefined C++ code
Status: RESOLVED DUPLICATE of bug 442933
Alias: None
Product: openSUSE 11.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Factory
Hardware: All openSUSE 11.0
: P5 - None : Minor (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 11:00 UTC by David Binderman
Modified: 2008-11-13 11:15 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2008-11-13 11:00:33 UTC
I just checked some of the source code in the Suse Linux factory package
kradio-1.0beta3b_20060920-225.18 and I noticed the following

$ egrep "new|delete" ../BUILD/kradio-snapshot_2006_09_20/kradio3/plugins/recording/encoder.cpp | fgrep m_buffersMetaData
    m_buffersMetaData  = new QPtrList<BufferSoundMetaData> *[m_config.m_EncodeBufferCount];
        m_buffersMetaData [i] = new QPtrList<BufferSoundMetaData>;
        delete m_buffersMetaData[i];
    delete m_buffersMetaData;

Suggest replace

    delete m_buffersMetaData;

with

    delete [] m_buffersMetaData; m_buffersMetaData = NULL;
Comment 1 Stephan Binner 2008-11-13 11:15:16 UTC

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