mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-09-09 09:14:57 +00:00
remote_driver: Avoid double free in EventControl building
Don't xdr_free event data as they are freed by our caller virNetClientProgramDispatch.
This commit is contained in:
parent
2d45ae5a01
commit
811886672d
@ -3315,7 +3315,6 @@ remoteDomainBuildEventControlError(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
|
||||
return;
|
||||
|
||||
event = virDomainEventControlErrorNewFromDom(dom);
|
||||
xdr_free ((xdrproc_t) &xdr_remote_domain_event_control_error_msg, (char *) &msg);
|
||||
|
||||
virDomainFree(dom);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user