Received: from eggs.gnu.org ([2001:4830:134:3::10]:55237) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dZvL8-0007te-A4 for qemu-devel@nongnu.org; Tue, 25 Jul 2017 04:37:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dZvL7-0003gj-9D for qemu-devel@nongnu.org; Tue, 25 Jul 2017 04:37:14 -0400 Date: Tue, 25 Jul 2017 09:37:01 +0100 From: "Daniel P. Berrange" Message-ID: <20170725083701.GD26394@redhat.com> Reply-To: "Daniel P. Berrange" References: <20170724182751.18261-1-f4bug@amsat.org> <20170724182751.18261-10-f4bug@amsat.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20170724182751.18261-10-f4bug@amsat.org> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH for 2.10 09/35] ui/vnc: fix leak of SocketAddress ** List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Philippe =?utf-8?Q?Mathieu-Daud=C3=A9?= Cc: Eric Blake , =?utf-8?Q?Marc-Andr=C3=A9?= Lureau , Gerd Hoffmann , qemu-trivial@nongnu.org, qemu-devel@nongnu.org On Mon, Jul 24, 2017 at 03:27:25PM -0300, Philippe Mathieu-Daud=C3=A9 wro= te: > Extract the (correct) cleaning code as a new function vnc_free_addresse= s() then > use it to remove the memory leaks. >=20 > Reported-by: Clang Static Analyzer > Signed-off-by: Philippe Mathieu-Daud=C3=A9 > --- > ui/vnc.c | 36 ++++++++++++++++++------------------ > 1 file changed, 18 insertions(+), 18 deletions(-) Reviewed-by: Daniel P. Berrange Regards, Daniel --=20 |: https://berrange.com -o- https://www.flickr.com/photos/dberran= ge :| |: https://libvirt.org -o- https://fstop138.berrange.c= om :| |: https://entangle-photo.org -o- https://www.instagram.com/dberran= ge :|