Re: [Libvir] Memory leak in XenHypervisorMakeCapabilitiesXML?

2007-09-07 Thread Daniel P. Berrange
On Fri, Sep 07, 2007 at 12:18:05PM -0400, beth kon wrote: Hi. Seems to me there is a memory leak with the strdup function in xenHypervisorMakeCapabilitiesXML. Looking up the chain of calls leading to xenHypervisorMakeCapabilitiesXML, I don't see the required free for the hidden malloc in

[Libvir] Memory leak in XenHypervisorMakeCapabilitiesXML?

2007-09-07 Thread beth kon
Hi. Seems to me there is a memory leak with the strdup function in xenHypervisorMakeCapabilitiesXML. Looking up the chain of calls leading to xenHypervisorMakeCapabilitiesXML, I don't see the required free for the hidden malloc in the strdup. The same problem may exist with other strdups in