Re: [libvirt] [PATCH] conf: Fix memory leak caused by missing VIR_FREE for video resolution.

2019-10-18 Thread Jonathon Jongsma
Thanks, Reviewed-by: Jonathon Jongsma On Fri, 2019-10-18 at 00:15 -0300, jcfara...@gmail.com wrote: > From: Julio Faracco > > Commit 72862797 introduced resolution settings for QEMU video > drivers. > It includes a new structure inside video definition. So, the code > needs > to clear pointer

[libvirt] [PATCH] conf: Fix memory leak caused by missing VIR_FREE for video resolution.

2019-10-17 Thread jcfaracco
From: Julio Faracco Commit 72862797 introduced resolution settings for QEMU video drivers. It includes a new structure inside video definition. So, the code needs to clear pointer allocation for that structure into clear function virDomainVideoDefClear(). This commit adds this missing VIR_FREE().