diff --git a/libc3/window/cairo/quartz/demo/window_cairo_quartz_demo.c b/libc3/window/cairo/quartz/demo/window_cairo_quartz_demo.c
index a13f851..7635a23 100644
--- a/libc3/window/cairo/quartz/demo/window_cairo_quartz_demo.c
+++ b/libc3/window/cairo/quartz/demo/window_cairo_quartz_demo.c
@@ -35,6 +35,7 @@ int main (int argc, s8 **argv)
window.resize = window_cairo_demo_resize;
if (! window_cairo_quartz_run(&window))
r = g_c3_exit_code;
+ window_cairo_clean(&window);
c3_window_cairo_clean();
c3_clean(NULL);
return r;
diff --git a/libc3/window/sdl2/window_sdl2.c b/libc3/window/sdl2/window_sdl2.c
index ae3576e..b5bb5ce 100644
--- a/libc3/window/sdl2/window_sdl2.c
+++ b/libc3/window/sdl2/window_sdl2.c
@@ -184,7 +184,7 @@ bool window_sdl2_run (s_window_sdl2 *window)
int display_index;
display_index = SDL_GetWindowDisplayIndex(sdl_window);
if (display_index < 0) {
- fprintf(stderr, "window_sdl2_run: failed to get display DPI: %s\n",
+ fprintf(stderr, "window_sdl2_run: failed to get display index: %s\n",
SDL_GetError());
goto ko;
}