Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp1008089pxb; Tue, 29 Mar 2022 14:51:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzRDTTL5LmpnUpyiuiKPMGIJlXJ3PvS6oMwsPUkkZQqy9d+31xHmi7vd5FPb3a3XPHf2Mja X-Received: by 2002:a05:6402:350c:b0:419:3cb8:b714 with SMTP id b12-20020a056402350c00b004193cb8b714mr7129598edd.297.1648590703476; Tue, 29 Mar 2022 14:51:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648590703; cv=none; d=google.com; s=arc-20160816; b=qC+X52lfcZ68/Rf4qZ585YVf6Oiunu4Qs7xZzx8lPlN83PTtgraoBkGCU4807u9+YP b9vU/ufzi6g7206qGrevxMWf0uywxeC+A/xqZyUMt+7QFfvWBCc4QTJqRPhynxSNNq4s gLS8TF9eMZd+TaGTF6COmYy1PRf817WSqVlwReym3PoJT++9bwZIfwEPPIlNvCbbYb4y xAIu0rl+BiT6+oPvMAUdUZX/2LICLWfoRocm3PUuPg0pDQ9j9XGiZ6DYDX7AIGC5pHp3 ndZp0QDGjpvrJoPq/sSlm4wx9Rwaj/LJG7fpQBuGjiEG0Yod1k6D8UgYH3sRi3SC8aqT 0mzg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id; bh=xAG8xim3HdLah/O1w5Mo3MtzB4tmVq8CNxbUNAlQdBg=; b=tnH0bqRpE9Ugiv6UiLpBV5W411y23pFm5CIV9WpgTq9AdNZZWN2szmzwQokniqNVg1 hrT7Tb5JpEZ7iTG5EqyOCyQCjfN0D5QK06SZCddjaHKnUYsCkedjKBU5vK5t7xDPJp7I q4wP0FzHaddeES5v73us1RCrJbd/ruAAM7u2zD6TNxU7yl5yRMEYEXcZ8dGtmW6mrXGk F8jOyp6iAAREnHVnwxFZX3e2DusGrolCYCcMNaA8txDh1xbCwpdDc0tRFvh06HUi2Zko xz8WQB+MiTHTi1Df5JVwtHqwJJYD8qFK9OqXFCLpkjRvZ4viShiP/yG/aYlEdTedEdSb vqPg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a056402230f00b004195738c866si18356919eda.371.2022.03.29.14.51.18; Tue, 29 Mar 2022 14:51:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239716AbiC2QnE (ORCPT + 99 others); Tue, 29 Mar 2022 12:43:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238079AbiC2QnD (ORCPT ); Tue, 29 Mar 2022 12:43:03 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 020C3249895 for ; Tue, 29 Mar 2022 09:41:19 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nZEu2-0005cv-G0; Tue, 29 Mar 2022 18:41:06 +0200 Received: from [2a0a:edc0:0:900:1d::4e] (helo=lupine) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1nZEtw-003pAh-DT; Tue, 29 Mar 2022 18:41:03 +0200 Received: from pza by lupine with local (Exim 4.94.2) (envelope-from ) id 1nZEty-000AjW-6r; Tue, 29 Mar 2022 18:41:02 +0200 Message-ID: Subject: Re: [PATCH v2] drm/imx: Fix memory leak in imx_pd_connector_get_modes From: Philipp Zabel To: =?ISO-8859-1?Q?Jos=E9_Exp=F3sito?= , LW@karo-electronics.de Cc: airlied@linux.ie, daniel@ffwll.ch, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Date: Tue, 29 Mar 2022 18:41:02 +0200 In-Reply-To: <20220108165230.44610-1-jose.exposito89@gmail.com> References: <20220108165230.44610-1-jose.exposito89@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: p.zabel@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gU2EsIDIwMjItMDEtMDggYXQgMTc6NTIgKzAxMDAsIEpvc8OpIEV4cMOzc2l0byB3cm90ZToK PiBBdm9pZCBsZWFraW5nIHRoZSBkaXNwbGF5IG1vZGUgdmFyaWFibGUg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