Received: from eggs.gnu.org ([2001:4830:134:3::10]:58325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkv8e-0004LX-5u for qemu-devel@nongnu.org; Fri, 16 Sep 2016 11:33:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkv8b-0005Cn-0x for qemu-devel@nongnu.org; Fri, 16 Sep 2016 11:33:16 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:48298) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkv8a-0005CQ-No for qemu-devel@nongnu.org; Fri, 16 Sep 2016 11:33:12 -0400 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.17/8.16.0.17) with SMTP id u8GD9Sks057500 for ; Fri, 16 Sep 2016 09:09:40 -0400 Received: from e06smtp09.uk.ibm.com (e06smtp09.uk.ibm.com [195.75.94.105]) by mx0a-001b2d01.pphosted.com with ESMTP id 25fqttfse7-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Sep 2016 09:09:40 -0400 Received: from localhost by e06smtp09.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Sep 2016 14:09:37 +0100 Received: from b06cxnps3074.portsmouth.uk.ibm.com (d06relay09.portsmouth.uk.ibm.com [9.149.109.194]) by d06dlp02.portsmouth.uk.ibm.com (Postfix) with ESMTP id 8DCC12190023 for ; Fri, 16 Sep 2016 14:08:55 +0100 (BST) Received: from d06av01.portsmouth.uk.ibm.com (d06av01.portsmouth.uk.ibm.com [9.149.37.212]) by b06cxnps3074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id u8GD9YgU12976610 for ; Fri, 16 Sep 2016 13:09:34 GMT Received: from d06av01.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av01.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id u8GD9YS6032356 for ; Fri, 16 Sep 2016 07:09:34 -0600 From: Greg Kurz Date: Fri, 16 Sep 2016 15:09:08 +0200 In-Reply-To: <1474031354-14185-1-git-send-email-groug@kaod.org> References: <1474031354-14185-1-git-send-email-groug@kaod.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Message-Id: <1474031354-14185-3-git-send-email-groug@kaod.org> Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL 2/8] 9pfs: drop duplicate line in proxy backend List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , "Aneesh Kumar K.V" , Greg Kurz This double free did not cause harm because v9fs_string_free() sets str->data to NULL and g_free(NULL) is valid. Signed-off-by: Greg Kurz Reviewed-by: C=C3=A9dric Le Goater --- hw/9pfs/9p-proxy.c | 1 - 1 file changed, 1 deletion(-) diff --git a/hw/9pfs/9p-proxy.c b/hw/9pfs/9p-proxy.c index 52bbf4f1b37c..d091564b6fd2 100644 --- a/hw/9pfs/9p-proxy.c +++ b/hw/9pfs/9p-proxy.c @@ -777,7 +777,6 @@ static int proxy_mkdir(FsContext *fs_ctx, V9fsPath *d= ir_path, errno =3D -retval; retval =3D -1; } - v9fs_string_free(&fullname); return retval; } =20 --=20 2.5.5