Re: [libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-06 Thread Eric Blake
On 05/05/2013 05:01 AM, Michal Privoznik wrote: @@ -228,7 +228,7 @@ virCapabilitiesAddHostFeature(virCapsPtr caps, caps-host.nfeatures, 1) 0) return -1; -if ((caps-host.features[caps-host.nfeatures] = strdup(name)) == NULL) +if

Re: [libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-05 Thread Michal Privoznik
On 03.05.2013 23:22, Eric Blake wrote: On 05/03/2013 08:53 AM, Michal Privoznik wrote: --- src/conf/capabilities.c | 30 + src/conf/cpu_conf.c | 19 src/conf/domain_conf.c | 105 ++-- src/conf/domain_event.c

[libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-03 Thread Michal Privoznik
--- src/conf/capabilities.c | 30 + src/conf/cpu_conf.c | 19 src/conf/domain_conf.c | 105 ++-- src/conf/domain_event.c | 39 src/conf/node_device_conf.c | 29 ++--

Re: [libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-03 Thread Eric Blake
On 05/03/2013 08:53 AM, Michal Privoznik wrote: --- src/conf/capabilities.c | 30 + src/conf/cpu_conf.c | 19 src/conf/domain_conf.c | 105 ++-- src/conf/domain_event.c | 39

Re: [libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-03 Thread Eric Blake
On 05/03/2013 03:22 PM, Eric Blake wrote: @@ -250,7 +250,7 @@ virCapabilitiesAddHostMigrateTransport(virCapsPtr caps, caps-host.nmigrateTrans, 1) 0) return -1; -if ((caps-host.migrateTrans[caps-host.nmigrateTrans] = strdup(name)) == NULL) +if

Re: [libvirt] [PATCH v3 03/34] Adapt to VIR_STRDUP and VIR_STRNDUP in src/conf/*

2013-05-03 Thread Eric Blake
On 05/03/2013 08:53 AM, Michal Privoznik wrote: --- src/conf/capabilities.c | 30 + Reviewed earlier. src/conf/cpu_conf.c | 19 src/conf/domain_conf.c | 105 ++-- src/conf/domain_event.c | 39