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

This commit is contained in:
Marcus Meissner 2014-07-15 10:00:43 +02:00 committed by Alexandre Julliard
parent 4cb91a69b0
commit 906c341781
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}