aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--stream/stream_cdda.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/stream_cdda.c b/stream/stream_cdda.c
index 13ec14644b..8bb940032c 100644
--- a/stream/stream_cdda.c
+++ b/stream/stream_cdda.c
@@ -227,7 +227,6 @@ static void close_cdda(stream_t *s)
cdda_priv *p = (cdda_priv *)s->priv;
paranoia_free(p->cdp);
cdda_close(p->cd);
- free(p);
}
static int get_track_by_sector(cdda_priv *p, unsigned int sector)
@@ -313,7 +312,6 @@ static int open_cdda(stream_t *st)
return STREAM_ERROR;
}
- priv = calloc(1,sizeof(cdda_priv));
priv->cd = cdd;
if (p->toc_bias)