Re: [PATCH 14/21] domain_conf.c: remove 'error' label in virDomainDefTunablesParse()

2020-12-01 Thread Michal Privoznik
On 11/24/20 8:20 PM, Daniel Henrique Barboza wrote: The 'error' label is just doing a 'return -1'. There's also a couple of 'VIR_FREE(nodes)' calls that are happening right before exiting on error, but 'nodes' is already set for autocleanup. These calls can also be removed. Signed-off-by: Danie

[PATCH 14/21] domain_conf.c: remove 'error' label in virDomainDefTunablesParse()

2020-11-24 Thread Daniel Henrique Barboza
The 'error' label is just doing a 'return -1'. There's also a couple of 'VIR_FREE(nodes)' calls that are happening right before exiting on error, but 'nodes' is already set for autocleanup. These calls can also be removed. Signed-off-by: Daniel Henrique Barboza --- src/conf/domain_conf.c | 77 +