cue_parser: fix memory leak

This commit is contained in:
Max Kellermann 2013-01-03 21:02:59 +01:00
parent 0f1a180e15
commit 31da4bc566
2 changed files with 5 additions and 0 deletions

2
NEWS
View File

@ -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:

View File

@ -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);