Content-Type: multipart/mixed; boundary="===============0735805694874149056==" MIME-Version: 1.0 From: ramesh.thomas at intel.com Subject: [Accel-config] [PATCH v1 3/5] accel-config: static analysis bug fix Date: Fri, 04 Dec 2020 15:50:30 -0500 Message-ID: <20201204205031.310835-4-ramesh.thomas@intel.com> In-Reply-To: 20201204205031.310835-1-ramesh.thomas@intel.com To: accel-config@lists.01.org List-ID: --===============0735805694874149056== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Ramesh Thomas Remove double clsing of dfd here Signed-off-by: Ramesh Thomas --- accfg/lib/libaccfg.c | 1 - 1 file changed, 1 deletion(-) diff --git a/accfg/lib/libaccfg.c b/accfg/lib/libaccfg.c index 92d3a70..a3f71ca 100644 --- a/accfg/lib/libaccfg.c +++ b/accfg/lib/libaccfg.c @@ -616,7 +616,6 @@ err_read: free(wq->wq_buf); free(wq->wq_path); err_wq: - close(dfd); free(wq); free(path); return NULL; -- = 2.26.2 --===============0735805694874149056==--