Commit 2cabb3f7 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

dnsapi: Fix memory leak on error path in do_query_netbios (scan-build).

parent 025e9a01
......@@ -77,6 +77,7 @@ static DNS_STATUS do_query_netbios( PCSTR name, DNS_RECORDA **recp )
if (!record->pName)
{
status = ERROR_NOT_ENOUGH_MEMORY;
free( record );
goto exit;
}
......
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