提交 e2da8068 编写于 作者: D Daniel P. Berrange

Fix leak in serializing error message from daemon to client

上级 745c249a
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. */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册