[libvirt] [PATCH]LXC: free dst before lxcDomainAttachDeviceDiskLive return

Eric Blake eblake at redhat.com
Thu Sep 26 21:30:07 UTC 2013


On 09/26/2013 03:06 PM, Doug Goldstein wrote:
> On Thu, Sep 26, 2013 at 8:20 AM, Ján Tomko <jtomko at redhat.com> wrote:
>> On 09/26/2013 08:01 AM, Chen Hanxiao wrote:
>>> From: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>>>
>>> free dst before lxcDomainAttachDeviceDiskLive return
>>>
>>> Signed-off-by: Chen Hanxiao <chenhanxiao at cn.fujitsu.com>
>>> ---
>>>  src/lxc/lxc_driver.c | 1 +
>>>  1 file changed, 1 insertion(+)
>>
>> ACK and pushed.
>>
>> Jan
>>
>> --
>> libvir-list mailing list
>> libvir-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvir-list
> 
> Do we need to revert this before the release? It sounds like it can
> cause us to crash due to using freed memory.

No, the patch looks correct to me.  I did, however, spot a typo, so I'll
be pushing the obvious fix s/actally/actually/.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130926/daaf82dc/attachment-0001.sig>


More information about the libvir-list mailing list