Kaydet (Commit) ad4f12b5 authored tarafından Caolán McNamara's avatar Caolán McNamara

valgrind: glXChooseVisual says to use XFree to free its returned data

Change-Id: I4949b9daaae183efcbab21dafca0c84838c2c6d0
üst b105ad5b
......@@ -227,6 +227,7 @@ void glxtest()
glXDestroyContext(dpy, context);
XDestroyWindow(dpy, window);
XFreeColormap(dpy, swa.colormap);
XFree(vInfo);
#ifdef NS_FREE_PERMANENT_DATA // conditionally defined in nscore.h, don't forget to #include it above
XCloseDisplay(dpy);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment