Re: [PATCH] Free up memballoon def.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/30/10 - 11:56:04AM, Eric Blake wrote:
> On 07/30/2010 11:37 AM, Chris Lalancette wrote:
> > Forgetting to do this was causing a memory leak.
> > 
> > Signed-off-by: Chris Lalancette <clalance@xxxxxxxxxx>
> > ---
> >  src/conf/domain_conf.c |    2 ++
> >  1 files changed, 2 insertions(+), 0 deletions(-)
> > 
> > diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
> > index ca4bc6e..1ddea0a 100644
> > --- a/src/conf/domain_conf.c
> > +++ b/src/conf/domain_conf.c
> > @@ -768,6 +768,8 @@ void virDomainDefFree(virDomainDefPtr def)
> >  
> >      virDomainWatchdogDefFree(def->watchdog);
> >  
> > +    virDomainMemballoonDefFree(def->memballoon);
> 
> ACK.

Thanks, pushed.

-- 
Chris Lalancette

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]