[libvirt] [PATCH v3 07/28] locking: Don't leak private data in virLockManagerLockDaemonNew
John Ferlan
jferlan at redhat.com
Thu Aug 30 18:29:48 UTC 2018
On 08/27/2018 04:08 AM, Michal Privoznik wrote:
> If drvNew callback fails, nobody calls drvFree and thus private
> data of the driver might leak.
>
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
> src/locking/lock_driver_lockd.c | 37 ++++++++++++++++++++++++-------------
> 1 file changed, 24 insertions(+), 13 deletions(-)
>
Reviewed-by: John Ferlan <jferlan at redhat.com>
John
More information about the libvir-list
mailing list