diff --git a/main.c b/main.c index 04e155a..53df538 100644 --- a/main.c +++ b/main.c @@ -717,6 +717,7 @@ void run(void) if (arl_handle(&arl)) { /* when too fast, imlib2 can't load the image */ nanosleep(&ten_ms, NULL); + img_close(&img, true); load_image(fileidx); redraw(); }