From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from new2-smtp.messagingengine.com (new2-smtp.messagingengine.com [66.111.4.224]) by dpdk.org (Postfix) with ESMTP id 60DA41B2E5; Wed, 1 Nov 2017 16:33:57 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailnew.nyi.internal (Postfix) with ESMTP id A9817C9B; Wed, 1 Nov 2017 11:33:56 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 01 Nov 2017 11:33:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=zIQFIw18hzIGymPMi0T9ZBsdMQgBICIIU40GRh/cKIo=; b=exQBi80v oApZ7RxQuOKZA/wNxu5OpL+L19Jd0oTqD/x5lsOGUnJ0afrnykBo5EZQH8/bOvPm h7Gxiaibu4t9PFXBB05fYsvEOqijgZTOhNRb3r75JuANy70jkDbT9hXsG/eJ6kez V5SjiAEQhGxdwFCVCm9n91KPgHZuJXOuKHj46jS4XggbVwHk0RvinPIBicov4g6d LtNNn8ugKxPfSO5ScYZloXqv1VnI0twHqA2zF/DTAjVG+8A97ItqeL/MU0vp3AIG 2NcAK4P/Rq1lrcrfQybXUwe44SexAcUpA6mDnpkKuMKTPowe7LINfk0jgiJNTKsE uZUG29wcujrAjw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm1; bh=zIQFIw18hzIGymPMi0T9ZBsdMQgBI CIIU40GRh/cKIo=; b=hPXHCbeSaUX6hjqGH6NbZkS62clI8jKlmTRjkqbqxYFdi yUE3Mq/m9DnPwjMARIL5GcalVwWLYJkbHaThK9UXAXduhS5AJewWyUgGZx3dDw7s KOcrO59lGTdVgrhpGeD/z91p1bHYiRLD7FDD18fSsovCLYUclnGQkeak0hbutjCp EJx3lwZFBJT9x62WcChC+T7XNO+dmJOD9tqwYWTKmO0Rew/AC1ENCd3Xf8B5+5kD FJADe6TLIePpUmVUOzDlXA4bCv/cNpdLz47hqWFfw7D77BDSi5c2ruNr9rYkCvsD ZsCe6yGfNaQe2yDg8yJuNPI3Qtu+PIuN9P7ZvVbXA== X-ME-Sender: Received: from yliu-home (unknown [124.79.168.36]) by mail.messagingengine.com (Postfix) with ESMTPA id 6680924731; Wed, 1 Nov 2017 11:33:55 -0400 (EDT) Date: Wed, 1 Nov 2017 23:33:51 +0800 From: Yuanhan Liu To: Pengzhen Liu Cc: thomas@monjalon.net, dev@dpdk.org, stable@dpdk.org Message-ID: <20171101153351.GT1545@yliu-home> References: <1509076449-20542-1-git-send-email-liupengzhen3@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1509076449-20542-1-git-send-email-liupengzhen3@huawei.com> User-Agent: Mutt/1.5.24 (2015-08-30) Subject: Re: [dpdk-dev] [dpdk-stable] [PATCH] net/virtio: fix memory leak X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Nov 2017 15:33:57 -0000 On Fri, Oct 27, 2017 at 11:54:09AM +0800, Pengzhen Liu wrote: > In function eth_virtio_dev_init(), dynamic memory stored > in "eth_dev->data->mac_addrs" variable and it is not freed > when function return, > this is a possible memory leak. > > Fixes: 8ced1542f7a3 ("net/virtio: eth_dev->data->mac_addrs is not freed") > Cc: stable@dpdk.org > Signed-off-by: Pengzhen Liu Acked-by: Yuanhan Liu --yliu