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

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

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]