diff options
-rw-r--r-- | src/mesa/main/extensions.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/extensions.c b/src/mesa/main/extensions.c index 8c262af081f..3ce4cd5596c 100644 --- a/src/mesa/main/extensions.c +++ b/src/mesa/main/extensions.c @@ -750,6 +750,8 @@ get_extension_override( struct gl_context *ctx ) } } + free(env); + /* Remove trailing space. */ len = strlen(extra_exts); if (extra_exts[len - 1] == ' ') |