Skip to content
Snippets Groups Projects
Commit d5f5c90b authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde Committed by Martin Storsjö
Browse files

rtsp: free opts dictionary on failure of getnameinfo

parent 8df8f0c7
No related branches found
No related tags found
No related merge requests found
......@@ -2279,6 +2279,7 @@ static int sdp_read_header(AVFormatContext *s)
if (err) {
av_log(s, AV_LOG_ERROR, "getnameinfo: %s\n", gai_strerror(err));
err = AVERROR(EIO);
av_dict_free(&opts);
goto fail;
}
ff_url_join(url, sizeof(url), "rtp", NULL,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment