mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00: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