From: Mark Wooding Date: Sun, 24 Apr 2022 11:14:27 +0000 (+0100) Subject: xrepaint.c: Close the display explicitly at the end. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/xtoys/commitdiff_plain/75d55b66a708b10e02f8d5b9e81baa459f7f609f xrepaint.c: Close the display explicitly at the end. Just to make sure everything's properly flushed. --- diff --git a/xrepaint.c b/xrepaint.c index 166e238..5a454a8 100644 --- a/xrepaint.c +++ b/xrepaint.c @@ -152,6 +152,7 @@ int main(int argc, char *argv[]) select(0, 0, 0, 0, &tv); /* All done. */ + XCloseDisplay(dpy); return (0); }