chiark
/
gitweb
/
~mdw
/
xtoys
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
xrepaint.c: Close the display explicitly at the end.
[xtoys]
/
xrepaint.c
diff --git
a/xrepaint.c
b/xrepaint.c
index 166e238ad3b421fd85f44538ec33f0d5d467659c..5a454a8599fd1c187b319f9856a0aac50efcefda 100644
(file)
--- a/
xrepaint.c
+++ b/
xrepaint.c
@@
-152,6
+152,7
@@
int main(int argc, char *argv[])
select(0, 0, 0, 0, &tv);
/* All done. */
select(0, 0, 0, 0, &tv);
/* All done. */
+ XCloseDisplay(dpy);
return (0);
}
return (0);
}