aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/extract_mvs.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2020-08-25 00:20:35 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-02-27 07:20:57 +0100
commitb343188cd866f6fda1b248ac2a098fb0729492c2 (patch)
treeef95d9b2d80c7b1eb62ce298d33fe6eccb94b3c3 /doc/examples/extract_mvs.c
parented86d63a7f26815e4abee286e07d5ae427da0a35 (diff)
downloadffmpeg-b343188cd866f6fda1b248ac2a098fb0729492c2.tar.gz
avfilter/vf_signature: Fix leak of string upon error
If an error happens between allocating a string intended to be used as an inpad's name and attaching it to its input pad, the string leaks. Fix this by inserting the inpad directly after allocating its string. Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> (cherry picked from commit 16ea88778e6f4e2d49318ea6e02fa938ac2f401e)
Diffstat (limited to 'doc/examples/extract_mvs.c')
0 files changed, 0 insertions, 0 deletions