aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pugl/pugl_x11_gl.c2
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;
}