[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] domain_conf: Free temporary variable
- From: Daniel Veillard <veillard redhat com>
- To: Michal Privoznik <mprivozn redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] domain_conf: Free temporary variable
- Date: Tue, 12 Jul 2011 17:28:15 +0800
On Mon, Jul 11, 2011 at 07:02:36PM +0200, Michal Privoznik wrote:
> Caller must free returned value of virXPathString
> ---
> src/conf/domain_conf.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> index 2315c98..05c9d3e 100644
> --- a/src/conf/domain_conf.c
> +++ b/src/conf/domain_conf.c
> @@ -5732,6 +5732,7 @@ virDomainDefParseBootXML(xmlXPathContextPtr ctxt,
> } else {
> def->os.bios.useserial = VIR_DOMAIN_BIOS_USESERIAL_NO;
> }
> + VIR_FREE(useserial);
> }
>
> *bootCount = deviceBoot;
ACK and pushed, thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]