glx-fbconfig-sanity: memory leak

Merged Sergii Romantsov requested to merge GL/piglit:fix/meml_glx-fbconfig-sanity into master

Test uses a call GetVisualFromFBConfig. Resulting object has to be freed by XFree. Also screen has to be closed by XCloseDisplay otherwise a lot of objects allocated with screen-context will not be freed.

CC: Ian Romanick ian.d.romanick@intel.com Signed-off-by: Sergii Romantsov sergii.romantsov@globallogic.com

Merge request reports