From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 5187CA0C3F; Mon, 28 Jun 2021 11:25:19 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1377040692; Mon, 28 Jun 2021 11:25:19 +0200 (CEST) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mails.dpdk.org (Postfix) with ESMTP id 3A0B54068A for ; Mon, 28 Jun 2021 11:25:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624872317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=NEK7byeKs9heILUM1QAuDojoYm6GJJ3aFMr7rdJjplI=; b=fGC7uH6lIfIpLd8WVVz9uzu7h50+rRb6YjZRl31L+DMTolZLZOt7FOvNfVLWs7O933KkOE /+fzEnpO+lEMjbc+3w06WDQqPatspU9HDNCrEzbo0fUEiJj2LcbswuXU0uS1hgXLErbpNt bQFmAwHtzQOMFMhxSEHeJyHnzKP6JYw= Received: from mail-vs1-f69.google.com (mail-vs1-f69.google.com [209.85.217.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-267-CWN5ngyxNdSG_x2LNrGiAw-1; Mon, 28 Jun 2021 05:25:14 -0400 X-MC-Unique: CWN5ngyxNdSG_x2LNrGiAw-1 Received: by mail-vs1-f69.google.com with SMTP id k67-20020a6724460000b029025ff03ce7c2so4018420vsk.7 for ; Mon, 28 Jun 2021 02:25:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NEK7byeKs9heILUM1QAuDojoYm6GJJ3aFMr7rdJjplI=; b=CKN9I1/pm7A/2Ulsa3kGn5V2SHtSaunDTQjwwgX/+KjwfQXV3/Dwr4HcNDqCa3NsMF GgM70rdtyMivV63EmsWZQld3E+rtCo2Kxz5i/ZcrmYsbSmJuADyLYbgZjWlGTTROvRsr 4FaZgmJA7FAK2EEVuhVrMX/r+9mk0bwqrRojnMrENJ/W4k+ITDCnNYqoYfuvCcHRFa/t SaPqK0HJ6J3i+VfeM1ic3hEO5kuUkYTqazyWgtQpNl1ekcFHoRAFhvURrMg5kLuyccVK K6LhRSd9u2rbsS6rSR+P3xg0TDfHagZlNENHIZ6aAFHRbMeDSjW0hdapWkXVaApdyNy3 Sbtg== X-Gm-Message-State: AOAM531RHpy2Sex06q7LjTidHiQ56Syhrbhm0F0l6Im/VbO01Ft4RAC8 jip/KrKY0I6zaV4rhfG7M0TutkPltg/qZuTSEGp2zq/A7DVUyT7jPF47YD8IcaUjrHYeXR/8tcP 5uR3uBugmEQoBfDyqKsQ= X-Received: by 2002:ab0:4401:: with SMTP id m1mr2784224uam.126.1624872314310; Mon, 28 Jun 2021 02:25:14 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz2wCRERn9bDnlpIF5s8L3j/MB+etEcYzXzXIB3CAJK06fopmeeZSgeSRK3tjYvZlR/ratSbyRw8oFb104KHrE= X-Received: by 2002:ab0:4401:: with SMTP id m1mr2784218uam.126.1624872314078; Mon, 28 Jun 2021 02:25:14 -0700 (PDT) MIME-Version: 1.0 References: <20210628090249.70873-1-winsome8282@163.com> In-Reply-To: <20210628090249.70873-1-winsome8282@163.com> From: David Marchand Date: Mon, 28 Jun 2021 11:25:03 +0200 Message-ID: To: RickZhong Cc: dev Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH] mem: fix mem leak issue when attaching a PCI device without driver to DPDK X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Mon, Jun 28, 2021 at 11:03 AM RickZhong wrote: > > when trying to attach a PCI device without driver to DPDK, > the 'dev' is malloced but not freed. > > Signed-off-by: RickZhong Thanks for the patch. I already submitted a similar fix. https://patchwork.dpdk.org/project/dpdk/patch/20210616065257.16044-1-david.marchand@redhat.com/ -- David Marchand