[vlc-devel] [PATCH] libvlc: media: remove flexible array member

Rémi Denis-Courmont remi at remlab.net
Mon May 23 19:47:10 CEST 2016


On Monday 23 May 2016 19:22:18 Filip Roséen wrote:
> Having `p_slave->psz_uri = strdup( p_item_slave->psz_uri )` aids
> readability,

If it weren´t for error handling, I´d agree, but I don´t agree.

> and a separate `free( p_slave->psz_uri )` during slave
> clean-up shouldn't be too intrusive.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list