diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-02-03 10:48:33 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-02-03 11:04:48 +0000 |
commit | ad4f12b58a7b3f05e1eb0cb3205f150242c411ef (patch) | |
tree | 10fd57b2418146bb19c7b60f2fb212790a1558e5 /vcl | |
parent | b105ad5bafa847f5dd53aee8107a7c77cebcfdfc (diff) |
valgrind: glXChooseVisual says to use XFree to free its returned data
Change-Id: I4949b9daaae183efcbab21dafca0c84838c2c6d0
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/unx/glxtest.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vcl/unx/glxtest.cxx b/vcl/unx/glxtest.cxx index 75022b6af14c..8e187ac425ce 100644 --- a/vcl/unx/glxtest.cxx +++ b/vcl/unx/glxtest.cxx @@ -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); |