diff options
author | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-06 13:55:04 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@gmail.com> | 2021-03-07 00:39:32 +0100 |
commit | 9665fd31e8f5d9738e742fcdf0e76ea9ce76b049 (patch) | |
tree | c2fae7ea792a3c1b8394bec576240a0083893885 /tools/coverity.c | |
parent | 2570663966482152f383bf3ad85a9db9f87197c0 (diff) | |
download | ffmpeg-9665fd31e8f5d9738e742fcdf0e76ea9ce76b049.tar.gz |
avformat/http: Fix leak when using deprecated option
When the deprecated option "user-agent" was set to something different
than its default value, said option would always precede and overwrite
the ordinary user_agent option (regardless of whether it was explicitly
set) which leads to a leak of the user_agent option (which has a default
value, so the leak happens always).
Fix this by setting the same destination for both options; the last
option applied wins then.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'tools/coverity.c')
0 files changed, 0 insertions, 0 deletions