diff options
author | NRK <nrk@disroot.org> | 2023-06-28 04:16:48 +0600 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2023-06-28 14:45:13 -0500 |
commit | 2f220c6286cdf63988aea05811db3f315abe16ea (patch) | |
tree | 57b8a71a0e4fa90505ef13fe2768dbb406874583 /video/filter/refqueue.c | |
parent | f8cb539e6ffce52b370964bd45efe1424aacac53 (diff) | |
download | mpv-2f220c6286cdf63988aea05811db3f315abe16ea.tar.bz2 mpv-2f220c6286cdf63988aea05811db3f315abe16ea.tar.xz |
loadfile: fix leak due to setting NULL parent
in the first iteration, *out will be null and thus the steal and the
strdup both sets the parent to NULL - leaking the allocation later on
(caught via LeakSanitizer).
let append_lang() take care of setting the parent instead.
Diffstat (limited to 'video/filter/refqueue.c')
0 files changed, 0 insertions, 0 deletions