[igt-dev] [PATCH i-g-t v1 5/5] tests/kms_hdmi_inject: test cleanup
B, Jeevan
jeevan.b at intel.com
Tue Sep 27 08:51:07 UTC 2022
LGTM
Reviewed-by: Jeevan B <jeevan.b at intel.com>
> -----Original Message-----
> From: igt-dev <igt-dev-bounces at lists.freedesktop.org> On Behalf Of Kunal
> Joshi
> Sent: Tuesday, September 27, 2022 12:23 AM
> To: igt-dev at lists.freedesktop.org
> Cc: Gupta, Nidhi1 <nidhi1.gupta at intel.com>; Joshi, Kunal1
> <kunal1.joshi at intel.com>
> Subject: [igt-dev] [PATCH i-g-t v1 5/5] tests/kms_hdmi_inject: test cleanup
>
> -> Free resources
> -> close drm_fd
>
> Cc: Nidhi Gupta <nidhi1.gupta at intel.com>
> Signed-off-by: Kunal Joshi <kunal1.joshi at intel.com>
> ---
> tests/kms_hdmi_inject.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tests/kms_hdmi_inject.c b/tests/kms_hdmi_inject.c index
> abae0ab4..0bb51165 100644
> --- a/tests/kms_hdmi_inject.c
> +++ b/tests/kms_hdmi_inject.c
> @@ -219,5 +219,7 @@ igt_main
>
> igt_fixture {
> drmModeFreeConnector(connector);
> + drmModeFreeResources(res);
> + close(drm_fd);
> }
> }
> --
> 2.25.1
More information about the igt-dev
mailing list