mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-10 05:17:59 +03:00
daemon: plug memory leak
Leak introduced in commit bb2eddc6
.
* daemon/remote.c (remoteDispatchAuthPolkit): Also free pkout on
success.
This commit is contained in:
parent
df81004632
commit
d2728cc245
@ -2536,6 +2536,7 @@ remoteDispatchAuthPolkit(virNetServerPtr server ATTRIBUTE_UNUSED,
|
||||
virNetServerClientSetIdentity(client, ident);
|
||||
virMutexUnlock(&priv->lock);
|
||||
virCommandFree(cmd);
|
||||
VIR_FREE(pkout);
|
||||
VIR_FREE(ident);
|
||||
|
||||
return 0;
|
||||
|
Loading…
Reference in New Issue
Block a user