diff options
author | Andreas Rheinhardt <[email protected]> | 2023-09-07 11:05:30 +0200 |
---|---|---|
committer | Andreas Rheinhardt <[email protected]> | 2023-09-10 21:21:30 +0200 |
commit | ca78dcfb19e5c8928f587d33b08c6fb087f3c4f2 (patch) | |
tree | bdd1123dc25caba831b0d8b110c100119615abb4 | |
parent | 4f98bf9dbd0ef6a401fad40f6275ebd3904c83bf (diff) |
avformat/avio: Remove duplicated freeing code
The target of the jump frees this stuff, too.
Signed-off-by: Andreas Rheinhardt <[email protected]>
-rw-r--r-- | libavformat/avio.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/avio.c b/libavformat/avio.c index 4e7f61c651..246683ff58 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; } |