The target of the jump frees this stuff, too.
Signed-off-by: Andreas Rheinhardt <[email protected]>
---
libavformat/avio.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavformat/avio.c b/libavformat/avio.c
index 053cb2e05a..a4572d2f05 100644
--- a/libavformat/avio.c
+++ b/libavformat/avio.c
@@ -136,8 +136,6 @@ static int url_alloc_for_protocol(URLContext **puc, const
URLProtocol *up,
}
if(ret<0 || p!=key){
av_log(uc, AV_LOG_ERROR, "Error parsing options string
%s\n", start);
- av_freep(&uc->priv_data);
- av_freep(&uc);
err = AVERROR(EINVAL);
goto fail;
}
--
2.34.1
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".