From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7F4E0A0526; Tue, 21 Jul 2020 20:52:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E79E01C027; Tue, 21 Jul 2020 20:52:26 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-2.mimecast.com [205.139.110.61]) by dpdk.org (Postfix) with ESMTP id 8CA251C01E for ; Tue, 21 Jul 2020 20:52:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1595357545; 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=avkgBSamFvnESu0Xhs7mb7yzXO2njZ0tFGGulwIiU4k=; b=K3RLhntX2q4eNrQWGmoBiMFOyDDUyjOuHSs0R9mD0ieljqnGPpYZZYfxTeHDSG8unStsha JSpEN1Tpdn32PJPnH+pg2uwboIjQURMYzINhX5I94nvJZs3sWxS3zm6KW4Vh+VxmBGquyn 97pfoZao27Qzo7EoKr3Mo805oY7Y7zo= Received: from mail-ua1-f71.google.com (mail-ua1-f71.google.com [209.85.222.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-4-W1e5OrXDPomIzUVgTNYgeQ-1; Tue, 21 Jul 2020 14:52:23 -0400 X-MC-Unique: W1e5OrXDPomIzUVgTNYgeQ-1 Received: by mail-ua1-f71.google.com with SMTP id c13so4261468uae.0 for ; Tue, 21 Jul 2020 11:52:23 -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=avkgBSamFvnESu0Xhs7mb7yzXO2njZ0tFGGulwIiU4k=; b=kyu0jEghYZsaSAwfKPUmXaofr6Kit0cZSa6jepFJrfwsM1/XeLz+9Y4fBe+lxgHW8x N5rgWExLNEccCeYhaWs5sRaU67FrXdKWuGPGMYBvylwhXHlV6GCmS5EMRAc6lq1A4akV Td4cmSLQ5pGrS3M597G/rF0EDZf2Ep/j6gj7t0IE2x5yqm3MRBBRAlkrMMtPw7Mbeoqp kBS1tkqcv1NgQKhyD4qZwOrJ2b88Q5vCsEZndvFS2cvk85SDjPvPqF+2CDM8Jt+LhLOx WWzrDfqQcJcwbjEpp/9QQGaXLk1PnQDYZDB64BZLM7a6gfFbn3dso1ZK77A+s/lnPeVK g5aA== X-Gm-Message-State: AOAM531JRxchoLsj5q7HeqBp9B5wWnqq0r7q3dyROQpwdVCWJUEqUm9T SmpsKdikd0NUMFMSdolDgtOHxCk12BtvMYTsWq5JF3VDVhLDTsK18m0LMlugr7pORoswEXHBtIX +Cp3t0UjASR78p58rpVk= X-Received: by 2002:a67:cb9c:: with SMTP id h28mr9318526vsl.39.1595357543151; Tue, 21 Jul 2020 11:52:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwL31jOL8bXn1lr6Z5qguJPMu7mLahsmjyFfnbN9f3LqzkQaNEGUMYRhtXnrj4q2cIRFsZDXEz5JdVwBx+72VE= X-Received: by 2002:a67:cb9c:: with SMTP id h28mr9318518vsl.39.1595357542919; Tue, 21 Jul 2020 11:52:22 -0700 (PDT) MIME-Version: 1.0 References: <1594983017-21936-1-git-send-email-wangyunjian@huawei.com> In-Reply-To: <1594983017-21936-1-git-send-email-wangyunjian@huawei.com> From: David Marchand Date: Tue, 21 Jul 2020 20:52:12 +0200 Message-ID: To: wangyunjian Cc: dev , "Lilijun (Jerry)" , xudingke , dpdk stable 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 v2] bus/fslmc: fix memory leak in secondary process 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, Jul 17, 2020 at 12:50 PM wangyunjian wrote: > > From: Yunjian Wang > > In fslmc_process_mcp(), we allocate memory for 'dev_name' but not > released before return in secondary process. And it is not used > since commit a69f79300262 ("bus/fslmc: support multi VFIO group"), > so it can be removed. > > Fixes: e55d0494ab98 ("bus/fslmc: support secondary process") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang Acked-by: Hemant Agrawal Applied, thanks. -- David Marchand