cue_parser: fix memory leak
This commit is contained in:
2
NEWS
2
NEWS
@@ -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)
|
|||||||
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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user