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:
parent
ed7e9f8be5
commit
27f96bd6f3
|
|
@ -424,11 +424,15 @@ static void __compile_real(char*label, char*name,
|
||||||
scope, label, name,
|
scope, label, name,
|
||||||
array_addr, local_flag);
|
array_addr, local_flag);
|
||||||
resolv_submit(res);
|
resolv_submit(res);
|
||||||
|
free(argv);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
assert(node);
|
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)
|
bool __compile_real_net_resolv::resolve(bool msg_flag)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue