Skip to content
Snippets Groups Projects
Commit b9b3ef4f authored by Stephan Holljes's avatar Stephan Holljes Committed by Michael Niedermayer
Browse files

lavf/http.c: Free allocated client URLContext in case of error.


Signed-off-by: default avatarStephan Holljes <klaxa1337@googlemail.com>
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 7b6b8c92)
Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent b2b7cb0f
No related branches found
No related tags found
No related merge requests found
......@@ -576,7 +576,11 @@ static int http_accept(URLContext *s, URLContext **c)
goto fail;
cc->hd = cl;
cc->is_multi_client = 1;
return 0;
fail:
if (c) {
ffurl_closep(c);
}
return ret;
}
......
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