diff options
author | Tavian Barnes <tavianator@gmail.com> | 2011-05-17 09:05:23 -0600 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2011-05-17 09:05:23 -0600 |
commit | 35d84a9be37915f4c9e13b6ae69e84ef632608e4 (patch) | |
tree | d6e7599dd015167528b2d8b086804f8534194d08 /libdimension/tests | |
parent | a932d4f46c2fadd6c750d844846fb9ba4baf45e0 (diff) | |
download | dimension-35d84a9be37915f4c9e13b6ae69e84ef632608e4.tar.xz |
Fix leak in failure path in GL test.
Diffstat (limited to 'libdimension/tests')
-rw-r--r-- | libdimension/tests/gl.c | 1 |
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; } |