mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-27 02:51:16 +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…
Reference in New Issue
Block a user