diff options
author | David Robillard <d@drobilla.net> | 2019-07-23 12:52:17 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-07-23 20:28:56 +0200 |
commit | b47bfc5f1fba8d3e5295e11f1add8665c423cc4d (patch) | |
tree | 3c274e9a6bb1a59fb927f904b947365b15a0c4c4 | |
parent | 1fef5e07611cc0a3bfeeec528a6b018b9e9805b9 (diff) | |
download | pugl-b47bfc5f1fba8d3e5295e11f1add8665c423cc4d.tar.gz pugl-b47bfc5f1fba8d3e5295e11f1add8665c423cc4d.tar.bz2 pugl-b47bfc5f1fba8d3e5295e11f1add8665c423cc4d.zip |
X11: Fix memory leak
-rw-r--r-- | pugl/pugl_x11_gl.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pugl/pugl_x11_gl.c b/pugl/pugl_x11_gl.c index 8f8e4fd..0ada53f 100644 --- a/pugl/pugl_x11_gl.c +++ b/pugl/pugl_x11_gl.c @@ -94,6 +94,8 @@ puglX11GlConfigure(PuglView* view) puglX11GlGetAttrib(display, fbc[0], GLX_DOUBLEBUFFER), puglX11GlGetAttrib(display, fbc[0], GLX_SAMPLES)); + XFree(fbc); + return 0; } |