summaryrefslogtreecommitdiff
path: root/tests/glx/glx-close-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glx/glx-close-display.c')
-rw-r--r--tests/glx/glx-close-display.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/glx/glx-close-display.c b/tests/glx/glx-close-display.c
index 946f1f3cf..54b73e319 100644
--- a/tests/glx/glx-close-display.c
+++ b/tests/glx/glx-close-display.c
@@ -71,6 +71,8 @@ isDirectRendering(void)
result = glXIsDirect(dpy, ctx);
glXDestroyContext(dpy, ctx);
+ XFree(configs);
+
/* This call will cause *_dri.so to be dlclosed and unloaded. */
XCloseDisplay(dpy);