From 56e6d04719902926c31641f61cdd9c9d77b1b65e Mon Sep 17 00:00:00 2001 From: Stefan Seyfried Date: Fri, 6 Feb 2015 19:52:49 +0100 Subject: [PATCH] triple: set audioDecoder to NULL in destructor this avoids blowing up in the CPlayback destructor --- libtriple/audio_td.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/libtriple/audio_td.cpp b/libtriple/audio_td.cpp index 6ebc1e2..4efba7c 100644 --- a/libtriple/audio_td.cpp +++ b/libtriple/audio_td.cpp @@ -49,6 +49,7 @@ cAudio::~cAudio(void) if (P->mixer_fd >= 0) close(P->mixer_fd); free(pdata); + audioDecoder = NULL; } int cAudio::mute(void)