Commit 84ac625d by Brad Morgan

Added GITERR_CHECK_ALLOC

parent a6b79b9b
......@@ -336,6 +336,7 @@ static int _git_ssh_setup_conn(
if (git_ssh_extract_url_parts(&host, &user, url) < 0)
goto on_error;
port = git__strdup(default_port);
GITERR_CHECK_ALLOC(port);
}
if (gitno_connect(&s->socket, host, port, 0) < 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment