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 7BDDCA0528; Fri, 17 Jul 2020 11:20:57 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C644B1BF91; Fri, 17 Jul 2020 11:20:55 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by dpdk.org (Postfix) with ESMTP id 280CF1BF90 for ; Fri, 17 Jul 2020 11:20:54 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1594977653; 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=OGmDbvOMV8F+V1NRuNm7C9unffZpBOPWP6JbrcSVcB4=; b=LqClRjUmMLjumHcNxkmrIx+yuV3Fr1nRTHQQmGJKWTcUuLZRTgsXF0mcCdraPDT60G1p4w wGSvc7n2WeJMiic46Xwx3+nC3Zjszgs2RLqafpg2YtFJAGHEGmFkovfoXtGLU2Gv3SIqIm WrnIhUmCbSBG9xmZe9ueCxnxn6KtE/I= Received: from mail-vs1-f71.google.com (mail-vs1-f71.google.com [209.85.217.71]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-380-qkW9ayzQNt6nGKa_MIj6ZQ-1; Fri, 17 Jul 2020 05:20:51 -0400 X-MC-Unique: qkW9ayzQNt6nGKa_MIj6ZQ-1 Received: by mail-vs1-f71.google.com with SMTP id l189so1614229vsc.19 for ; Fri, 17 Jul 2020 02:20:51 -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=OGmDbvOMV8F+V1NRuNm7C9unffZpBOPWP6JbrcSVcB4=; b=FsWDhVxGSEeu61UhHXa7zQWn+NggaRM7H0DlQTSz1azaTlMAS9jcyrlhryr696Nalf KiJnwSqUU/2tc68y08tLArveOiAQCR7L2T2PkQlx5UMlor5bmLi9Lyhfj8AdOXcU98x+ FHAf5iYgsrqT03vtPMTiO2r3muUc8Ub91xV00xjIGooY7gAHKzNU7UG5HKdOPs4OmtOL U3pahbnH1Bwd3jafqnurY2/dyTzypa7yJCvV0J7PYFAryivonvanyLfsL2p+Umd3QoA1 /mT7uSHDAl6cFyzATg0+/eQEIsE2k8LfMTu7Zk6ByWkAgRleLSVR4nYaJqqhlO7L6TWh vUsA== X-Gm-Message-State: AOAM531pgx/g3a4Bh4Ys0yvnXErAi/4M8ogVUL5aatzHLDLC2dyAc66W kD6zzZTMWvgxryN0Jw/lSX5MQ3H3CpG0LaQ4l0KiiotmBXSdkl1drFh0WfC3OZu0jLmcKs5XZhU BRnkXBYiMngcUugieafc= X-Received: by 2002:a05:6102:249:: with SMTP id a9mr6106333vsq.198.1594977651248; Fri, 17 Jul 2020 02:20:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyWaa6PxavqzT5/9TQhn4zGE6W/PMBc52C1KZ+totNmEveZLyMJVHlQttkHulXZhmTMAOh8l8cyadrTHgFCou4= X-Received: by 2002:a05:6102:249:: with SMTP id a9mr6106315vsq.198.1594977650984; Fri, 17 Jul 2020 02:20:50 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Fri, 17 Jul 2020 11:20:40 +0200 Message-ID: To: wangyunjian , Hemant Agrawal Cc: dev , Sachin Saxena , "Lilijun (Jerry)" , xudingke , dpdk stable X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" Subject: Re: [dpdk-dev] [PATCH 1/1] 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 Thu, Jul 9, 2020 at 12:40 PM wangyunjian wrote: > > From: Yunjian Wang > > In fslmc_process_mcp(), we allocate memory for 'dev_name' but not released > before return in secondary process. dev_name is not used anymore since a69f79300262 ("bus/fslmc: support multi VFIO group") We can remove it entirely in this function. -- David Marchand