summaryrefslogtreecommitdiffstats
path: root/libdimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension')
-rw-r--r--libdimension/tests/gl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/tests/gl.c b/libdimension/tests/gl.c
index 8d93cf5..c71822c 100644
--- a/libdimension/tests/gl.c
+++ b/libdimension/tests/gl.c
@@ -43,6 +43,7 @@ main(void)
dmnsn_display *display = dmnsn_new_display(canvas);
if (!display) {
fprintf(stderr, "--- WARNING: Couldn't initialize X or glX! ---\n");
+ dmnsn_delete_canvas(canvas);
return EXIT_SUCCESS;
}