aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/cue/cue_parser.c3
2 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fb910e524..ece0b896b 100644
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ ver 0.17.3 (2012/??/??)
* decoder:
- ffmpeg: ignore negative time stamps
- ffmpeg: support planar audio
+* playlist:
+ - cue: fix memory leak
ver 0.17.2 (2012/09/30)
* protocol:
diff --git a/src/cue/cue_parser.c b/src/cue/cue_parser.c
index 2b0733f00..898c7b829 100644
--- a/src/cue/cue_parser.c
+++ b/src/cue/cue_parser.c
@@ -85,6 +85,9 @@ cue_parser_free(struct cue_parser *parser)
if (parser->current != NULL)
song_free(parser->current);
+ if (parser->previous != NULL)
+ song_free(parser->previous);
+
if (parser->finished != NULL)
song_free(parser->finished);