[PATCH i-g-t v2 1/6] tests/kms_atomic: Free pipe_crc object
Jessica Zhang
quic_jesszhan at quicinc.com
Tue Jan 23 23:28:54 UTC 2024
Free dangling pipe_crc object in plane_immutable_zpos()
Fixes: 149c3d0b321c ("tests/kms_atomic: Add test to validate immutable zpos")
Signed-off-by: Jessica Zhang <quic_jesszhan at quicinc.com>
---
tests/kms_atomic.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tests/kms_atomic.c b/tests/kms_atomic.c
index 96cd58571666..2b6e9a8f0383 100644
--- a/tests/kms_atomic.c
+++ b/tests/kms_atomic.c
@@ -560,6 +560,8 @@ plane_immutable_zpos(data_t *data, igt_output_t *output, enum pipe pipe, int n_p
igt_plane_set_fb(plane_upper, NULL);
}
+ igt_pipe_crc_free(pipe_crc);
+
igt_remove_fb(data->drm_fd, &fb_ref);
igt_remove_fb(data->drm_fd, &fb_lower);
igt_remove_fb(data->drm_fd, &fb_upper);
--
2.43.0
More information about the igt-dev
mailing list