[MPlayer-cvslog] r32710 - trunk/playtreeparser.c

Diego Biurrun diego at biurrun.de
Tue Dec 14 17:10:01 CET 2010


On Sun, Dec 12, 2010 at 08:25:43PM +0100, reimar wrote:
> 
> Log:
> Add playlist parser for .nsc files.
> Tested to properly decode .nsc files, but not properly tested since
> no publically available stream could be found.
> 
> --- trunk/playtreeparser.c	Sun Dec 12 18:16:59 2010	(r32709)
> +++ trunk/playtreeparser.c	Sun Dec 12 20:25:43 2010	(r32710)
> @@ -680,6 +680,116 @@ parse_textplain(play_tree_parser_t* p) {
>  
> +err_out:
> +  if (*buf) free(*buf);
> +
> +out:
> +  if (addr) free(addr);
> +  if (unicast_url) free(unicast_url);

pointless NULL checks before free()

Diego


More information about the MPlayer-cvslog mailing list