Skip to content

Commit

Permalink
DecoderIOFactoryUrl: fix Coverity ID 1026731 Uninitialized pointer field
Browse files Browse the repository at this point in the history
In DecoderIOFactoryUrl::DecoderIOFactoryUrl(): A pointer field is not
initialized in the constructor.
  • Loading branch information
Paul Harrison committed Jun 3, 2013
1 parent 01b7dfd commit dd7527d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions mythplugins/mythmusic/mythmusic/decoderhandler.cpp
Expand Up @@ -165,16 +165,16 @@ void DecoderIOFactorySG::start(void)

/**********************************************************************/

DecoderIOFactoryUrl::DecoderIOFactoryUrl(DecoderHandler *parent) : DecoderIOFactory(parent)
DecoderIOFactoryUrl::DecoderIOFactoryUrl(DecoderHandler *parent)
: DecoderIOFactory(parent), m_started(false),
m_accessManager(new QNetworkAccessManager(this)),
m_reply(NULL), m_input(new MusicIODevice()),
m_redirectCount(0), m_bytesWritten(0)

{
m_accessManager = new QNetworkAccessManager(this);
m_input = new MusicIODevice();
connect(m_input, SIGNAL(freeSpaceAvailable()), SLOT(readyRead()));

m_input->open(QIODevice::ReadWrite);

m_bytesWritten = 0;
m_redirectCount = 0;
}

DecoderIOFactoryUrl::~DecoderIOFactoryUrl(void)
Expand Down

0 comments on commit dd7527d

Please sign in to comment.