[libvirt] [PATCH 1/3] virDomainDefParseXML: Free @tmp when parsing genid
Peter Krempa
pkrempa at redhat.com
Thu May 31 07:20:35 UTC 2018
On Thu, May 31, 2018 at 09:16:10 +0200, Michal Privoznik wrote:
> On 05/30/2018 06:46 PM, Peter Krempa wrote:
> > On Wed, May 30, 2018 at 18:04:27 +0200, Michal Privoznik wrote:
[...]
> >> diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> >> index 27e2bd50eb..d8b4fbd6b0 100644
> >> --- a/src/conf/domain_conf.c
> >> +++ b/src/conf/domain_conf.c
> >> @@ -19120,6 +19120,7 @@ virDomainDefParseXML(xmlDocPtr xml,
> >> "%s", _("malformed genid element"));
> >> goto error;
> >> }
> >> + VIR_FREE(tmp);
> >
> >
> > ACK
> >
>
> And safe for freeze? ;-) This one fixes a feature that was introduced in
> this release. The rest of the patches can go after the release.
Yes. I thought it was obvious :)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180531/dfc212d4/attachment-0001.sig>
More information about the libvir-list
mailing list