https://github.com/videolan/vlc
Revision 656e5eb27ab1584e66efa7d132fd3b272165fbde authored by Steve Lhomme on 10 March 2023, 12:03:28 UTC, committed by Jean-Baptiste Kempf on 11 March 2023, 16:32:00 UTC
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 40c14fbee48975100aaa92b83a99ac33fa086933
in libvlc_media_tracklist_from_es_array().

Introduced in 057f3ef9e8b6bef1db79c1824daf667f4e777283.
1 parent 4bc4577
History
Tip revision: 656e5eb27ab1584e66efa7d132fd3b272165fbde authored by Steve Lhomme on 10 March 2023, 12:03:28 UTC
media_track: fix tracklist leak when no track found
Tip revision: 656e5eb
File Mode Size
autotools
bin
buildsystem
compat
contrib
doc
extras
include
lib
m4
modules
po
share
src
test
.gitignore -rw-r--r-- 471 bytes
.mailmap -rw-r--r-- 7.1 KB
AUTHORS -rw-r--r-- 18.7 KB
COPYING -rw-r--r-- 17.7 KB
COPYING.LIB -rw-r--r-- 25.9 KB
INSTALL -rw-r--r-- 1.4 KB
Makefile.am -rw-r--r-- 6.5 KB
NEWS -rw-r--r-- 202.7 KB
README.md -rw-r--r-- 5.6 KB
THANKS -rw-r--r-- 5.5 KB
bootstrap -rwxr-xr-x 1.8 KB
config.h.meson -rw-r--r-- 15.5 KB
configure.ac -rw-r--r-- 140.3 KB
make-alias -rwxr-xr-x 299 bytes
meson.build -rw-r--r-- 32.2 KB
meson_options.txt -rw-r--r-- 14.3 KB

README.md

back to top