Commit b36b614a authored by Rémi Duraffort's avatar Rémi Duraffort

Fix potential object leak.

parent 4b1fdf1b
......@@ -1243,6 +1243,7 @@ libvlc_track_description_t *
if( val_list.p_list->i_count <= 0 ) /* no tracks */
{
var_Change( p_input, psz_variable, VLC_VAR_FREELIST, &val_list, &text_list);
vlc_object_release( p_input );
return NULL;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment