Re: [PATCH 03/12] virSecurityLabelDefParseXML: Directly assign strings into appropriate variables

2021-11-23 Thread Ján Tomko
On a Monday in 2021, Peter Krempa wrote: 'seclabel->label', 'seclabel->imagelabel' and 'seclabel->baselabel' are populated by stealing the pointer from the 'p' temporary string. Remove the extra step. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 20 1 file change

[PATCH 03/12] virSecurityLabelDefParseXML: Directly assign strings into appropriate variables

2021-11-22 Thread Peter Krempa
'seclabel->label', 'seclabel->imagelabel' and 'seclabel->baselabel' are populated by stealing the pointer from the 'p' temporary string. Remove the extra step. Signed-off-by: Peter Krempa --- src/conf/domain_conf.c | 20 1 file changed, 8 insertions(+), 12 deletions(-) diff