From patchwork Mon Apr 13 10:46:34 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Umang Jain X-Patchwork-Id: 3429 Return-Path: Received: from o1.f.az.sendgrid.net (o1.f.az.sendgrid.net [208.117.55.132]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 011AB6279B for ; Mon, 13 Apr 2020 12:46:36 +0200 (CEST) Authentication-Results: lancelot.ideasonboard.com; dkim=pass (1024-bit key; unprotected) header.d=uajain.com header.i=@uajain.com header.b="GfMjRMYd"; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uajain.com; h=from:subject:mime-version:to:cc:content-transfer-encoding: content-type; s=s1; bh=M4byYbVjLfIQfIDhqPmMTJZ7QEe0IHTu6bhXdCLGeQQ=; b=GfMjRMYdd8xaVYODULw4GLxTb+IgCcyrJSi5pTlre/XtjNEbh03ZyH4/d+NqO25GPT9D WMDaaYX4yzBrlxIcZpOQ7lfrFmhqQxnqqDuKK4pzdG/t7b6be/jarAESgNFUkQXr2QGVDu el5UxN00zetdgiJAinru+wpqKpRxrPihs= Received: by filterdrecv-p3las1-cb48d7cc9-lbslb with SMTP id filterdrecv-p3las1-cb48d7cc9-lbslb-16-5E94430A-2 2020-04-13 10:46:34.752037 +0000 UTC m=+1589948.423956027 Received: from mail.uajain.com (unknown) by ismtpd0004p1maa1.sendgrid.net (SG) with ESMTP id lATE2z-zSOGj53UMsr0CtQ Mon, 13 Apr 2020 10:46:34.412 +0000 (UTC) From: Umang Jain Date: Mon, 13 Apr 2020 10:46:34 +0000 (UTC) Message-Id: <20200413104631.12276-1-email@uajain.com> Mime-Version: 1.0 X-SG-EID: 1Q40EQ7YGir8a9gjSIAdTjhngY657NMk9ckeo4dbHZDiOpywc/L3L9rFqlwE4KPc1jYMYoB2JcJvIPCLN/wEG7AkyGutkoDYI5JLwTKU3ts86bHpoq1LWat4ktvl2WDdubEKQSQGXhssKeH1LUUqO6SGdEzGuTd6++/zQ1zPDy5ztxYuNAqaTKs6yYSVWXQUTQ/JONZLFKeFG8P27y78XwhMpOTvDzzL4FQvJbV1B0X6skG3X6o2hHviuv01S4iU3WPwYn5aJcBBvUnH8IdkyA== To: libcamera-devel@lists.libcamera.org Subject: [libcamera-devel] [PATCH 0/4] Fix resource leaks pointed out by coverity scans X-BeenThere: libcamera-devel@lists.libcamera.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2020 10:46:38 -0000 Hi all, Sending in my first patch set for code-review. These are few trivial fixes pointed out by the coverity scans on Friday. Also, I have never sent patches to a mailing list. Let me know if I am doing something wrong here. Thanks. Umang Jain (4): test: ipc: unixsocket: Close open fds on error paths test: ipc: unixsocket: Close open fds on error paths test: log: log_api: Close open fds on error paths test: log: log_process: Close open fds on error paths test/ipc/unixsocket.cpp | 6 +++++- test/log/log_api.cpp | 1 + test/log/log_process.cpp | 1 + 3 files changed, 7 insertions(+), 1 deletion(-)