From fc80db664bdf9c6f438e5c9df4f6191965c9e866 Mon Sep 17 00:00:00 2001 From: Jarcode Date: Sun, 5 Aug 2018 19:47:12 -0700 Subject: [PATCH] fix startup resource leak --- xwin.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/xwin.c b/xwin.c index 74d5eed..04a426d 100644 --- a/xwin.c +++ b/xwin.c @@ -74,7 +74,8 @@ void xwin_wait_for_wm(void) { exists = true; break; } - } + } + XFree(props); } if (!exists) nanosleep(&tv, NULL); } while (!exists);