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){
|
if(ret<0 || p!=key){
|
||||||
av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start);
|
av_log(uc, AV_LOG_ERROR, "Error parsing options string %s\n", start);
|
||||||
av_freep(&uc->priv_data);
|
|
||||||
av_freep(&uc);
|
|
||||||
err = AVERROR(EINVAL);
|
err = AVERROR(EINVAL);
|
||||||
goto fail;
|
goto fail;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user