Fix the last of the net rework memory leaks.

This patch fixes the last of the memory leaks introduced by the
net rework.
This commit is contained in:
Cary R 2009-10-01 20:41:15 -07:00 committed by Stephen Williams
parent ed7e9f8be5
commit 27f96bd6f3
1 changed files with 5 additions and 1 deletions

View File

@ -424,11 +424,15 @@ static void __compile_real(char*label, char*name,
scope, label, name,
array_addr, local_flag);
resolv_submit(res);
free(argv);
return;
}
assert(node);
__compile_real_net2(node, array, scope, label, name, array_addr, local_flag);
__compile_real_net2(node, array, scope, label, name, array_addr,
local_flag);
free(argv[0].text);
free(argv);
}
bool __compile_real_net_resolv::resolve(bool msg_flag)