Re: [PATCH] fix memleak in virNodeDeviceGetPCISRIOVCaps

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

 



On 9/12/19 10:05 AM, Yi Wang wrote:
From: Jiang Kun <jiang.kun2@xxxxxxxxxx>

it always alloc new memory when get dumpxml of pf device,but never free it.
Now free the old first,then alloc new memory.

Signed-off-by: Jiang kun <jiang.kun2@xxxxxxxxxx>
---
  src/conf/node_device_conf.c | 1 +
  1 file changed, 1 insertion(+)

Reviewed-by: Michal Privoznik <mprivozn@xxxxxxxxxx> and pushed.
Congratulations Jiang on your first libvirt contribution.

Michal

--
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]

  Powered by Linux