mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
Fix leak in serializing error message from daemon to client
This commit is contained in:
parent
745c249a61
commit
e2da806861
@ -1,3 +1,8 @@
|
||||
Fri Jan 30 16:46:22 GMT 2009 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* qemud/remote.c: Fix memory leak after sending a libvirt
|
||||
error message back to client
|
||||
|
||||
Fri Jan 30 15:34:42 GMT 2009 John Levon <john.levon@sun.com>
|
||||
|
||||
* src/libvirt.c: Fix yet another printf("%s", NULL) case
|
||||
|
@ -363,6 +363,7 @@ rpc_error:
|
||||
remoteDispatchGenericError(&rerr);
|
||||
if (!xdr_remote_error (&xdr, &rerr))
|
||||
goto fatal_error;
|
||||
xdr_free((xdrproc_t)xdr_remote_error, (char *)&rerr);
|
||||
}
|
||||
|
||||
/* Write the length word. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user