mirror of https://github.com/FFmpeg/FFmpeg.git
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>pull/350/head
parent
37838417b8
commit
16ea88778e
1 changed files with 4 additions and 5 deletions
Loading…
Reference in new issue