mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/avio: Remove duplicated freeing code
The target of the jump frees this stuff, too. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
4f98bf9dbd
commit
ca78dcfb19
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user