[igt-dev] [PATCH i-g-t v1 5/5] tests/kms_hdmi_inject: test cleanup

Swati Sharma swati2.sharma at intel.com
Tue Sep 27 14:00:33 UTC 2022


Hi Kunal,

Please improve your commit message.
We don't write commit message as points.

On 27-Sep-22 12:23 AM, Kunal Joshi wrote:
> -> 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);
>   	}
>   }

-- 
~Swati Sharma


More information about the igt-dev mailing list