[libvirt] [PATCH] fix memleak in virNodeDeviceGetPCISRIOVCaps
Michal Privoznik
mprivozn at redhat.com
Thu Sep 12 14:21:25 UTC 2019
On 9/12/19 10:05 AM, Yi Wang wrote:
> From: Jiang Kun <jiang.kun2 at zte.com.cn>
>
> 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 at zte.com.cn>
> ---
> src/conf/node_device_conf.c | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: Michal Privoznik <mprivozn at redhat.com> and pushed.
Congratulations Jiang on your first libvirt contribution.
Michal
More information about the libvir-list
mailing list