From d0b09e2dfe7e42a542d6430426c584d74a5bd66e Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Fri, 10 Aug 2018 11:51:25 +0200 Subject: tegra: fix memory leak Fixes: 1755f608f52 ("tegra: Initial support") Signed-off-by: Christian Gmeiner Reviewed-by: Emil Velikov --- src/gallium/drivers/tegra/tegra_screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/drivers') diff --git a/src/gallium/drivers/tegra/tegra_screen.c b/src/gallium/drivers/tegra/tegra_screen.c index 034ea271eec..73fdc632933 100644 --- a/src/gallium/drivers/tegra/tegra_screen.c +++ b/src/gallium/drivers/tegra/tegra_screen.c @@ -203,6 +203,7 @@ static int tegra_open_render_node(void) } if (strcmp(version->name, "nouveau") != 0) { + drmFreeVersion(version); close(fd); continue; } -- cgit v1.2.3