From patchwork Thu Feb 25 16:48:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Zanoni, Paulo R" X-Patchwork-Id: 8425061 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4ED6C9FC82 for ; Thu, 25 Feb 2016 16:48:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 93F0820386 for ; Thu, 25 Feb 2016 16:48:51 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 934972037C for ; Thu, 25 Feb 2016 16:48:50 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 341516E915; Thu, 25 Feb 2016 16:48:50 +0000 (UTC) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id B18DF6E912 for ; Thu, 25 Feb 2016 16:48:47 +0000 (UTC) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 25 Feb 2016 08:48:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,498,1449561600"; d="scan'208";a="894643673" Received: from jholm-mobl.amr.corp.intel.com (HELO panetone.amr.corp.intel.com) ([10.252.138.60]) by orsmga001.jf.intel.com with ESMTP; 25 Feb 2016 08:48:45 -0800 From: Paulo Zanoni To: intel-gfx@lists.freedesktop.org Date: Thu, 25 Feb 2016 13:48:28 -0300 Message-Id: <1456418912-25723-2-git-send-email-paulo.r.zanoni@intel.com> X-Mailer: git-send-email 2.7.0 In-Reply-To: <1456418912-25723-1-git-send-email-paulo.r.zanoni@intel.com> References: <1456418912-25723-1-git-send-email-paulo.r.zanoni@intel.com> Cc: Paulo Zanoni Subject: [Intel-gfx] [PATCH igt 1/4] kms_frontbuffer_tracking: add missing igt_remove_fb calls X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Let's be good citizens and properly handle our garbage. Signed-off-by: Paulo Zanoni --- tests/kms_frontbuffer_tracking.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/kms_frontbuffer_tracking.c b/tests/kms_frontbuffer_tracking.c index 26e12d0..0ea1dde 100644 --- a/tests/kms_frontbuffer_tracking.c +++ b/tests/kms_frontbuffer_tracking.c @@ -3070,6 +3070,8 @@ static void tilingchange_subtest(const struct test_mode *t) page_flip_for_params(params, flip_type); do_assertions(0); } + + igt_remove_fb(drm.fd, &new_fb); } /* @@ -3128,6 +3130,8 @@ static void basic_subtest(const struct test_mode *t) update_wanted_crc(t, &pattern->crcs[t->format][r]); do_assertions(assertions); } + + igt_remove_fb(drm.fd, &fb2); } static int opt_handler(int option, int option_index, void *data)