Commit 31da4bc5 authored by Max Kellermann's avatar Max Kellermann

cue_parser: fix memory leak

parent 0f1a180e
...@@ -7,6 +7,8 @@ ver 0.17.3 (2012/??/??) ...@@ -7,6 +7,8 @@ ver 0.17.3 (2012/??/??)
* decoder: * decoder:
- ffmpeg: ignore negative time stamps - ffmpeg: ignore negative time stamps
- ffmpeg: support planar audio - ffmpeg: support planar audio
* playlist:
- cue: fix memory leak
ver 0.17.2 (2012/09/30) ver 0.17.2 (2012/09/30)
* protocol: * protocol:
......
...@@ -85,6 +85,9 @@ cue_parser_free(struct cue_parser *parser) ...@@ -85,6 +85,9 @@ cue_parser_free(struct cue_parser *parser)
if (parser->current != NULL) if (parser->current != NULL)
song_free(parser->current); song_free(parser->current);
if (parser->previous != NULL)
song_free(parser->previous);
if (parser->finished != NULL) if (parser->finished != NULL)
song_free(parser->finished); song_free(parser->finished);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment