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 C7738A00C4 for ; Thu, 31 Oct 2019 17:18:42 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 9CF071C2EA; Thu, 31 Oct 2019 17:18:42 +0100 (CET) Received: from us-smtp-delivery-1.mimecast.com (us-smtp-2.mimecast.com [207.211.31.81]) by dpdk.org (Postfix) with ESMTP id 8DFD21C2EA for ; Thu, 31 Oct 2019 17:18:41 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1572538720; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Pu5DfM4USugQolzEH4JREYEX0yD+r4+cqXscXiQ8VcU=; b=R45wIXJZs3UGHy7Mf3PiKo2adsddbGC9x15YdPUDtqdzKBWMaPvctU8TFyD8V2CsEwdQ49 R8GMdTg2JJVHn7G+nMXo7D2jz/9InllPqlzc+J/ypClBDknqKSWhc5XiaqkgT5f1GSbrrL 1tpzoi8R6p3qJodxPM9otocGhcZ/az8= Received: from mail-vs1-f70.google.com (mail-vs1-f70.google.com [209.85.217.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-123-XPf7Q9PINauJkp3BSuAvFg-1; Thu, 31 Oct 2019 12:18:39 -0400 Received: by mail-vs1-f70.google.com with SMTP id w21so1145453vsi.8 for ; Thu, 31 Oct 2019 09:18:39 -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=uvpjN9S7A7wbEYw2cYnQbfO45+RcKsEDx4cKVI5Dj5w=; b=kZxDz0jBfT8QbM++YbFOJX1KXRf43m/ngZhHahLcdjOxg9riEbLElUM1S0fiovrFhP 5MJtJKvY/cnKZAXQSBM7HnFMKG5R3z65rYPX1+0YRGKrhF5afdU+d/p4hwDG4VHbWyyM huTRvxjTyepNzg13hQkWg72jr9B3QvGQRkbHUnE3SPkOEWuJkpIgQfXkaflmEp36UkTW zv0lFa2xT5OzyBrbJ20hax6mXL+0P1xoVGE06Vy0pmmZr8r+KdKA5t438m3HauQzk7PX 0JE/M9Opd51KVx5wxhFhwMsf0PRd4Q0FeQJFWGz9h6Nyf1S0ajA/F34O2UxK7XZwM7Wz ckrQ== X-Gm-Message-State: APjAAAVckwQBMZGbeos8T2aIe6KFyPLnVaHUSihClEVyTNT8TKieRUjy RA0Seq23FLjcgqdLB7vFWi6I44vu/yEUwZY6nFALZYl//yrrondcIkJ/dPuv8mzypG6Yg3upoPH 1xEra5Zm5EiufDOP3Q1UFCMw= X-Received: by 2002:ab0:2716:: with SMTP id s22mr3273424uao.86.1572538718431; Thu, 31 Oct 2019 09:18:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqyYvyChsnsw/77tYFIuQHpCWJob+A3LzLycTW71eruCnx9AqrhTOvmMMcMaQ/0ll/8pS/Xcf420UhXKKW3Ec6I= X-Received: by 2002:ab0:2716:: with SMTP id s22mr3273399uao.86.1572538717948; Thu, 31 Oct 2019 09:18:37 -0700 (PDT) MIME-Version: 1.0 References: <1568100655-20010-1-git-send-email-agalyax.babu.radhakrishnan@intel.com> In-Reply-To: <1568100655-20010-1-git-send-email-agalyax.babu.radhakrishnan@intel.com> From: David Marchand Date: Thu, 31 Oct 2019 17:18:24 +0100 Message-ID: To: Agalya Babu RadhaKrishnan Cc: dev , "Pattan, Reshma" , Hemant Agrawal , Sachin Saxena , "Parthasarathy, JananeeX M" , dpdk stable X-MC-Unique: XPf7Q9PINauJkp3BSuAvFg-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [dpdk-stable] [dpdk-dev] [PATCH] bus/fslmc: fix for resource leak coverity issue X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" On Tue, Sep 10, 2019 at 9:33 AM Agalya Babu RadhaKrishnan wrote: > > From: Agalya Babu RadhaKrishnan > > 1 issue caught by 344967 > Leaked_storage: Variable sep going out of scope leaks the > storage it points to. > > When 'sep' is not null and sep_exist is 0, 'sep' is freed > before going out of scope of the function irrespective of > 'addr' exists or not. > > Coverity Issue: 344967 s/Issue/issue/ according to the contributing guide. > Fixes: e67a61614d0b ("bus/fslmc: support device iteration") > Cc: stable@dpdk.org > > Signed-off-by: Agalya Babu RadhaKrishnan Acked-by: Sachin Saxena Applied, thanks. -- David Marchand