mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avformat/avio: fix memory leak in url_find_protocol
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
2875745d35
commit
7bacf74536
@ -282,6 +282,7 @@ static const struct URLProtocol *url_find_protocol(const char *filename)
|
||||
return up;
|
||||
}
|
||||
}
|
||||
av_freep(&protocols);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user