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 DBED6A04DE; Fri, 30 Oct 2020 13:36:04 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id CBF7CC87A; Fri, 30 Oct 2020 13:36:00 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [63.128.21.124]) by dpdk.org (Postfix) with ESMTP id 6B3F7C86A for ; Fri, 30 Oct 2020 13:35:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1604061356; 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=DCNClvGcYqudEVbtHFLlG8SeoQBnTLNT7rMnAwRAw30=; b=CiPXCMpc1cjLNE3OnkNLCRqxVEoFs/5U9HjPgQ5pzmo+ykCaS0NMxrWfMaV1ee9+H5dR9s nerc3+SYbn6riRdC2BIPwBeHhwzcJGaj4PE+UX0XrDIPbHdOqs3X0wrgZqGShP/BHKQVVW KY8WRYjAyX4DVbB4imSs6/I8ICJJMnA= Received: from mail-ua1-f70.google.com (mail-ua1-f70.google.com [209.85.222.70]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-450-x-5zdV2jPJmbDm9Z8SV0-g-1; Fri, 30 Oct 2020 08:35:53 -0400 X-MC-Unique: x-5zdV2jPJmbDm9Z8SV0-g-1 Received: by mail-ua1-f70.google.com with SMTP id 66so741338uah.19 for ; Fri, 30 Oct 2020 05:35:53 -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=DCNClvGcYqudEVbtHFLlG8SeoQBnTLNT7rMnAwRAw30=; b=bRge3vfivq4LiShkk3m5gHlYvHNkTFa6HwnrL3CFCH3BRR3f9gfCY0/Iv+zMHnlhCO v6jH4Xs0kt4avP9FG1hLJMrH4Qy2N00s23LKW6KlShMSoarhJ2KJjbaHqZd3jEB1tLkJ iaQNaO/2GRIFywwsoNBkQyG2IdEiOpuwNwraL90VDURKlt4m/zB8OZjzsDr5n3OVRj0R 7gDmfF5jCRHKyxWHy1js3t2KjU476roxnswd48jRz6xwmpiVcbsRTtDj2wQCEhATPTUc 3aw25NesNp33Wfr34o6A753rDeESAITa3xpj13BZ4Rk3aIlL2E+mIoTGb+YOikNHHRjK kbPQ== X-Gm-Message-State: AOAM533kCVxqTrQ04CB2DsqQi0ECacQsBKUhhkODgISe1F3yImd7x4gL pC6Ii3eVqbNqEhcHJDn54sWh+C+XNMXbEHcFZUyI9Y8NX78sD3UWO3DoGNbqFmTYWzJEir5m1Vr XiOtAPhed9f8O+K6AcxY= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr6883510vsa.27.1604061352681; Fri, 30 Oct 2020 05:35:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzUJQmHaMCDiXGyXh88StD/TU8kF+RYlZHN/o94ZPX1wvDS/mKANjLuEHYZ5N+hq+JoQl8H3aQqt9sOAq4yaM8= X-Received: by 2002:a67:fd7a:: with SMTP id h26mr6883496vsa.27.1604061352485; Fri, 30 Oct 2020 05:35:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: David Marchand Date: Fri, 30 Oct 2020 13:35:41 +0100 Message-ID: To: wangyunjian Cc: dev , David Hunt , Rory Sexton , "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] examples/vm_power: fix resource leak on error path 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 Wed, Aug 19, 2020 at 2:55 PM wangyunjian wrote: > > From: Yunjian Wang > > This patch fixes the resource leaks reported by coverity. > > Coverity issue: 337674 > Fixes: 95f648ff9eed ("examples/vm_power: make branch ratio threshold per core") > Cc: stable@dpdk.org > > Signed-off-by: Yunjian Wang This is a duplicate of https://patchwork.dpdk.org/patch/74985/. Took the patch from Rory as it predates this one. -- David Marchand