Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
| inline |
side by side
NOTREACHED comment
[slstatus.git]
/
slstatus.c
diff --git
a/slstatus.c
b/slstatus.c
index
a3b6b6a
..
368b51c
100644
(file)
--- a/
slstatus.c
+++ b/
slstatus.c
@@
-652,6
+652,13
@@
main(void)
sleep(UPDATE_INTERVAL -1);
}
+ /* NOT REACHED */
+ /*
+ * TODO: find out a way to exit successfully
+ * to prevent memory leaks
+ */
+/*
XCloseDisplay(dpy);
return 0;
+*/
}