summaryrefslogtreecommitdiff
path: root/vdr_decoder_sndfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'vdr_decoder_sndfile.c')
-rw-r--r--vdr_decoder_sndfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/vdr_decoder_sndfile.c b/vdr_decoder_sndfile.c
index c0f7327..63d23d0 100644
--- a/vdr_decoder_sndfile.c
+++ b/vdr_decoder_sndfile.c
@@ -124,8 +124,7 @@ bool mgSndfileDecoder::clean(void) {
m_fgCond.Broadcast();
m_buffMutex.Unlock();
- delete m_pcm;
- m_pcm=0;
+ DELETENULL(m_pcm);
#ifdef GUARD_DEBUG
if(m_framebuff) {