[virt-tools-list] [libosinfo 4/4] loader: Fix leak in osinfo_loader_os

Christophe Fergeau cfergeau at redhat.com
Fri Dec 7 08:28:37 UTC 2012


On Thu, Dec 06, 2012 at 11:56:43AM +0100, Michal Privoznik wrote:
> On 06.12.2012 10:54, Christophe Fergeau wrote:
> > ---
> >  osinfo/osinfo_loader.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/osinfo/osinfo_loader.c b/osinfo/osinfo_loader.c
> > index bb7949e..b392a43 100644
> > --- a/osinfo/osinfo_loader.c
> > +++ b/osinfo/osinfo_loader.c
> > @@ -982,6 +982,7 @@ static void osinfo_loader_os(OsinfoLoader *loader,
> >              break;
> >  
> >          osinfo_os_add_tree (os, tree);
> > +        g_object_unref(G_OBJECT(tree));
> >      }
> >  
> >      g_free(nodes);
> > 
> 
> ACK series.

I pushed this series, but I mistakenly pushed an additional patch on top of
it which I wanted to test more before sending. I'll send it for
review now, but I'm happy to revert it.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121207/23a8c022/attachment.sig>


More information about the virt-tools-list mailing list