[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 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


Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


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