Skip to content

Commit

Permalink
MythMusic: Fix mismatched memory deallocation
Browse files Browse the repository at this point in the history
  • Loading branch information
natanojl committed Aug 11, 2013
1 parent 68256e3 commit 590d61e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mythplugins/mythmusic/mythmusic/avfdecoder.cpp
Expand Up @@ -412,8 +412,7 @@ void avfDecoder::deinit()

if (m_byteIOContext)
{
delete m_byteIOContext;
m_byteIOContext = NULL;
av_freep(&m_byteIOContext);
}
}

Expand Down

0 comments on commit 590d61e

Please sign in to comment.