diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-01-04 09:43:03 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2017-01-04 09:43:03 +0000 |
| commit | 9e6bc05ffb77c5166efb1214ee56196b4a4deb03 (patch) | |
| tree | b610eb6dce288ad548d98f68251fd12d794fe5da /src/plugins/Output/shout | |
| parent | 26fa997f5aa53d6a448a0e7985dd92880bf862b7 (diff) | |
| download | qmmp-9e6bc05ffb77c5166efb1214ee56196b4a4deb03.tar.gz qmmp-9e6bc05ffb77c5166efb1214ee56196b4a4deb03.tar.bz2 qmmp-9e6bc05ffb77c5166efb1214ee56196b4a4deb03.zip | |
fixed memory leak
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6947 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Output/shout')
| -rw-r--r-- | src/plugins/Output/shout/shoutoutput.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/Output/shout/shoutoutput.cpp b/src/plugins/Output/shout/shoutoutput.cpp index d27bd81c7..6b5421995 100644 --- a/src/plugins/Output/shout/shoutoutput.cpp +++ b/src/plugins/Output/shout/shoutoutput.cpp @@ -46,6 +46,11 @@ ShoutOutput::~ShoutOutput() soxr_delete(m_soxr); m_soxr = 0; } + if(m_soxr_buf) + { + free(m_soxr_buf); + m_soxr_buf = 0; + } } bool ShoutOutput::initialize(quint32 freq, ChannelMap map, Qmmp::AudioFormat) |
