projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tegra: fix memory leak
[mesa.git]
/
src
/
gallium
/
drivers
/
tegra
/
tegra_screen.c
diff --git
a/src/gallium/drivers/tegra/tegra_screen.c
b/src/gallium/drivers/tegra/tegra_screen.c
index 034ea271eecaead92b26ce37d10c9b0654b64714..73fdc632933f27ebb76d0fa9e0750d83bcb10c7f 100644
(file)
--- 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;
}