[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [PATCH] stream: remove redundant reference to client while sending stream data



On 08/31/2011 08:08 AM, Daniel P. Berrange wrote:
On Sun, Aug 28, 2011 at 09:43:58PM +0800, Guannan Ren wrote:
     *daemon/stream.c: remove virNetServerClientRef()
---
  daemon/stream.c |    1 -
  1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/daemon/stream.c b/daemon/stream.c
index 7d2b367..0333dfd 100644
--- a/daemon/stream.c
+++ b/daemon/stream.c
@@ -727,7 +727,6 @@ daemonStreamHandleRead(virNetServerClientPtr client,
          if (msg) {
              msg->cb = daemonStreamMessageFinished;
              msg->opaque = stream;
-            virNetServerClientRef(client);
              ret = virNetServerProgramSendStreamData(remoteProgram,
                                                      client,
                                                      msg,

ACK

Pushed.

--
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]