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

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