summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/tegra/tegra_screen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/tegra/tegra_screen.c')
-rw-r--r--src/gallium/drivers/tegra/tegra_screen.c1
1 files changed, 1 insertions, 0 deletions
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;
}