That's an array we allocated earlier in this function. Let's be symetric and free it once done.
Signed-off-by: Damien Lespiau <damien.lesp...@intel.com> --- tests/testdisplay.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/testdisplay.c b/tests/testdisplay.c index 3a9eab7..00d777a 100644 --- a/tests/testdisplay.c +++ b/tests/testdisplay.c @@ -457,6 +457,8 @@ int update_display(void) } } + + free(connectors); drmModeFreeResources(resources); return 1; } -- 1.8.3.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/intel-gfx