diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2025-02-14 07:12:05 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2025-02-14 15:21:02 +0100 |
commit | d739df9ec31a9cfc13d410202e6ffc3691cead02 (patch) | |
tree | d397be234784734e88a8754c9e5fce3fcde16c5f | |
parent | 58f46e7f0bf8817b6c2d15126160386285e56e0d (diff) | |
download | mpv-d739df9ec31a9cfc13d410202e6ffc3691cead02.tar.bz2 mpv-d739df9ec31a9cfc13d410202e6ffc3691cead02.tar.xz |
player/loadfile: don't use ta_set_parent directly
-rw-r--r-- | player/loadfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/player/loadfile.c b/player/loadfile.c index dc58183e7b..72ce42ce6d 100644 --- a/player/loadfile.c +++ b/player/loadfile.c @@ -528,7 +528,7 @@ static bool append_lang(size_t *nb, char ***out, char *in) MP_TARRAY_GROW(NULL, *out, *nb + 1); (*out)[(*nb)++] = in; (*out)[*nb] = NULL; - ta_set_parent(in, *out); + talloc_steal(*out, in); return true; } |