summaryrefslogtreecommitdiff
path: root/src/libxineadec/logpcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libxineadec/logpcm.c')
-rw-r--r--src/libxineadec/logpcm.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/libxineadec/logpcm.c b/src/libxineadec/logpcm.c
index 190879479..348cba9c9 100644
--- a/src/libxineadec/logpcm.c
+++ b/src/libxineadec/logpcm.c
@@ -30,7 +30,7 @@
* http://sox.sourceforge.net/
* which listed the code as being lifted from Sun Microsystems.
*
- * $Id: logpcm.c,v 1.6 2002/10/23 04:05:07 tmmm Exp $
+ * $Id: logpcm.c,v 1.7 2002/11/03 06:08:54 tmmm Exp $
*
*/
@@ -234,6 +234,9 @@ static void logpcm_dispose (audio_decoder_t *this_gen) {
this->stream->audio_out->close (this->stream->audio_out);
this->output_open = 0;
+ if (this->buf)
+ free(this->buf);
+
free (this_gen);
}