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 1929042C4E; Wed, 7 Jun 2023 17:02:34 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0A71C40ED5; Wed, 7 Jun 2023 17:02:34 +0200 (CEST) Received: from mail-pf1-f173.google.com (mail-pf1-f173.google.com [209.85.210.173]) by mails.dpdk.org (Postfix) with ESMTP id F21FE40A84 for ; Wed, 7 Jun 2023 17:02:32 +0200 (CEST) Received: by mail-pf1-f173.google.com with SMTP id d2e1a72fcca58-6563ccf5151so4989742b3a.0 for ; Wed, 07 Jun 2023 08:02:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20221208.gappssmtp.com; s=20221208; t=1686150152; x=1688742152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=xvwXGIg+XJqAUSzh3sh2bOeaJg7lHEzL8rf3veyKQPA=; b=MSW+ud8nHEnigUNp359+Fxo4rp62uypH/4N6c/G+cpwu/bKZO/vNqcTBhKG7ruj1+D 8IdtMk7hjMAnVsJfOURUBGuv1MmEsP4MlnL7hlxU5cVqfXpT+Q9YZizO72PUPlCvm+MV a0VgPW0mpPmGd6XxWfaf7+ypmwEA+1NS2LMf9rzTAKBVhnaMIUbaB7Rh4czFd/UwpWTH uOOJcev4vWJuAoDvh/tZBoZ6yefI2Nv/4V5M8HAVRoAK5LNs8EtsDfQmyrG+7jxxodns FeKpMwESxZGjyQz0ENAjH95Ex2s1EPyx7KcxynOglY7BAQg0OsXgay7mDjek2nBMVUJn 5lqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686150152; x=1688742152; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xvwXGIg+XJqAUSzh3sh2bOeaJg7lHEzL8rf3veyKQPA=; b=GrFYL0SCZ9S5IXtJBY917g2I53j2Xrd9lazfJRyhCw/H0b0z0aSB09/5eH4QyK8NgW heLDQ2uRt1CgbEtM1MCaKR+F7SRIbwnVFFG2+XeLyy6tebs1i2qVH22ewasDYlInePu2 SbovHeBNyO/Ggfze0X4uhyb3QzoQA3qbijf8H/qkb9ga+/WmEQl2ZfkiwwSjAUm9JgHO BAAum1MNSNzv/cn8jF4ISyGxTLhrD/M9zRIUOVUnXIlFYlkU1HK0rQ6TNYyuZ6ezcPum 5bfOsoXIQbYpgqRPBv58VdA6guK9r/O8emxPv3m0I9iadHBBaPAuTM7sdtDW6A/8PYnj q1qw== X-Gm-Message-State: AC+VfDxcSSPA05qKbI/tfnAnA/iTSx4PTXgC/jVnUEjMhZuRF2sZyfcK Q55xhdBk1WmsoFZuXnFWVO/fDQ== X-Google-Smtp-Source: ACHHUZ4MWucsizhB5g3ZzDlkCj1ZdHwiHWleoVojT/HypM3AytX2G/xKCJeAak9Po601BDjDvhBlVA== X-Received: by 2002:a05:6a20:7fa5:b0:111:4a86:f70 with SMTP id d37-20020a056a207fa500b001114a860f70mr3936198pzj.6.1686150152034; Wed, 07 Jun 2023 08:02:32 -0700 (PDT) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id p9-20020a62ab09000000b0063d2d9990ecsm8507979pff.87.2023.06.07.08.02.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Jun 2023 08:02:24 -0700 (PDT) Date: Wed, 7 Jun 2023 08:02:22 -0700 From: Stephen Hemminger To: Srikanth Yalavarthi Cc: Anup Prabhu , , , Subject: Re: [PATCH v4] app/mldev: add internal function for file read Message-ID: <20230607080222.43cd0879@hermes.local> In-Reply-To: <20230607113556.6292-1-syalavarthi@marvell.com> References: <20230323152801.27666-1-syalavarthi@marvell.com> <20230607113556.6292-1-syalavarthi@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 7 Jun 2023 04:35:56 -0700 Srikanth Yalavarthi wrote: > + if (file_buffer) > + free(file_buffer); Unnecessary if() since free(NULL) is ok.