core: correct memory leak
var_Change with VLC_VAR_SETVALUE showed a memory leak when dealing with a STRING variable.
The pf_dup function must not be called directy with a parameter passed by the caller.
otherwise, a reference is lost (memory leak)
Signed-off-by: Rémi Duraffort <ivoire@videolan.org>
Showing
Please register or sign in to comment