aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_x11.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-11-12 11:50:40 -0500
committerDavid Robillard <d@drobilla.net>2015-11-12 11:50:40 -0500
commit0f48a696aff49450c03d5d302712aff773c169e9 (patch)
tree60ddc66aee82503202e95a30451e1668b3ab761b /pugl/pugl_x11.c
parentdb28e6c8e3dc2d148ae14b2c7bf14b63c1237cb6 (diff)
downloadpugl-0f48a696aff49450c03d5d302712aff773c169e9.tar.gz
pugl-0f48a696aff49450c03d5d302712aff773c169e9.tar.bz2
pugl-0f48a696aff49450c03d5d302712aff773c169e9.zip
Fix memory leaks
Diffstat (limited to 'pugl/pugl_x11.c')
-rw-r--r--pugl/pugl_x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pugl/pugl_x11.c b/pugl/pugl_x11.c
index 8167ece..bed1512 100644
--- a/pugl/pugl_x11.c
+++ b/pugl/pugl_x11.c
@@ -287,6 +287,7 @@ puglDestroy(PuglView* view)
destroyContext(view);
XDestroyWindow(view->impl->display, view->impl->win);
XCloseDisplay(view->impl->display);
+ free(view->windowClass);
free(view->impl);
free(view);
view = NULL;