summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slstatus.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/slstatus.c b/slstatus.c
index a3b6b6a..368b51c 100644
--- 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;
+*/
}