Skip to content
Snippets Groups Projects
Commit 656e5eb2 authored by Steve Lhomme's avatar Steve Lhomme Committed by Jean-Baptiste Kempf
Browse files

media_track: fix tracklist leak when no track found

When count is 0 the list is still allocated. Either we should not allocate
one, we free it locally, or we pass it on as it.
The latter is similar to the code from 40c14fbe
in libvlc_media_tracklist_from_es_array().

Introduced in 057f3ef9.
parent 4bc4577b
No related branches found
No related tags found
Loading
Pipeline #321534 passed with stage
in 18 minutes and 1 second
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment