glx: get rid of memory leak
It fixes Coverity issue: `CID 1468356: Resource leaks (RESOURCE_LEAK)`
Fixes: e1964496
("glx: initial plumbing to let users force-enable/disable extensions")
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Signed-off-by: Andrii Simiklit <andrii.simiklit@globallogic.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7310>
This commit is contained in:

committed by
Marge Bot

parent
26f58e87a0
commit
638ebdea78
@@ -502,6 +502,8 @@ __ParseExtensionOverride(struct glx_screen *psc,
|
||||
enable ? "enable" : "disable", field);
|
||||
}
|
||||
}
|
||||
|
||||
free(env);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user