fix startup resource leak

This commit is contained in:
Jarcode
2018-08-05 19:47:12 -07:00
parent 75a3affbc0
commit fc80db664b

3
xwin.c
View File

@@ -74,7 +74,8 @@ void xwin_wait_for_wm(void) {
exists = true;
break;
}
}
}
XFree(props);
}
if (!exists) nanosleep(&tv, NULL);
} while (!exists);