Skip to content
Snippets Groups Projects
Commit 1825674b authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix a memory leak on getaddrinfo in sandbox. Found by coverity

parent 4ea9fbcd
Branches
Tags
No related merge requests found
......@@ -1184,6 +1184,7 @@ sandbox_add_addrinfo(const char* name)
if (ret) {
log_err(LD_BUG,"(Sandbox) failed to getaddrinfo");
ret = -2;
tor_free(el);
goto out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment