From patchwork Thu Mar 11 20:52:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Dufresne X-Patchwork-Id: 11548 Return-Path: X-Original-To: parsemail@patchwork.libcamera.org Delivered-To: parsemail@patchwork.libcamera.org Received: from lancelot.ideasonboard.com (lancelot.ideasonboard.com [92.243.16.209]) by patchwork.libcamera.org (Postfix) with ESMTPS id E1403BD80C for ; Thu, 11 Mar 2021 20:53:06 +0000 (UTC) Received: from lancelot.ideasonboard.com (localhost [IPv6:::1]) by lancelot.ideasonboard.com (Postfix) with ESMTP id 6A1FC602ED; Thu, 11 Mar 2021 21:53:06 +0100 (CET) Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) by lancelot.ideasonboard.com (Postfix) with ESMTPS id 1C61E602E8 for ; Thu, 11 Mar 2021 21:53:05 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: nicolas) with ESMTPSA id 5E4B21F40E90 From: Nicolas Dufresne To: libcamera-devel@lists.libcamera.org Date: Thu, 11 Mar 2021 15:52:53 -0500 Message-Id: <20210311205255.741985-1-nicolas@ndufresne.ca> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [libcamera-devel] [PATCH 0/2] GStreamer Fixes 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: , Cc: Nicolas Dufresne , kernel@collabora.com Errors-To: libcamera-devel-bounces@lists.libcamera.org Sender: "libcamera-devel" From: Nicolas Dufresne Two GStreamer fixes I've stumbled across. First fixes a crash when releasing the device provided and the second fixes a minor leak that could happen in error case. Nicolas Dufresne (2): gst: provider: Fix crash in finalize gst: pool: Fix GstBuffer leak on error src/gstreamer/gstlibcamerapool.cpp | 4 +++- src/gstreamer/gstlibcameraprovider.cpp | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-)