Commit 906c3417 authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

rpcrt4: Fixed memory leak on error exit (Coverity).

parent 4cb91a69
......@@ -942,6 +942,7 @@ static size_t rpcrt4_ip_tcp_get_top_of_tower(unsigned char *tower_data,
else
{
ERR("unexpected protocol family %d\n", ai->ai_family);
freeaddrinfo(ai);
return 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